Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.881/2.881, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 16.62 kB / 0.9022 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.386, allocations: 159.6 MB / 1.058 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.0008941/0.3869, allocations: 388.7 kB / 1.058 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009368/0.3879, allocations: 0.7962 MB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.3879, allocations: 0 / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.388, allocations: 0 / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.373e-05/0.388, allocations: 3.938 kB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.3882, allocations: 8 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.3883, allocations: 19.92 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.3884, allocations: 7.984 kB / 1.059 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.986e-05/0.3884, allocations: 7.984 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.737e-05/0.3885, allocations: 11.94 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3885, allocations: 0 / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-06/0.3885, allocations: 0 / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.3885, allocations: 11.98 kB / 1.059 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.3886, allocations: 25.7 kB / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.14e-05/0.3886, allocations: 11.97 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3887, allocations: 0 / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3887, allocations: 0 / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.3887, allocations: 3.938 kB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004514/0.3891, allocations: 347.5 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3892, allocations: 8.031 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.3892, allocations: 4 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3894, allocations: 163 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3894, allocations: 0 / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3894, allocations: 3.953 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3896, allocations: 65.61 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3896, allocations: 0 / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3896, allocations: 0 / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3896, allocations: 0 / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.3898, allocations: 43.95 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.3902, allocations: 252.9 kB / 1.06 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.3903, allocations: 42.5 kB / 1.06 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.236e-05/0.3904, allocations: 36.89 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3905, allocations: 0 / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3905, allocations: 30.56 kB / 1.06 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3905, allocations: 0 / 1.06 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003717/0.3909, allocations: 101.6 kB / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3909, allocations: 51.41 kB / 1.06 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.391, allocations: 105.7 kB / 1.06 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.391, allocations: 25.7 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.3911, allocations: 88.11 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3911, allocations: 7.906 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.3911, allocations: 128 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3913, allocations: 318.8 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.3914, allocations: 15.98 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.3915, allocations: 27.97 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.651e-05/0.3916, allocations: 28 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3916, allocations: 0 / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001854/0.3918, allocations: 69.67 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3918, allocations: 8.031 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3918, allocations: 3.984 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3918, allocations: 0 / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.3919, allocations: 8 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3919, allocations: 0 / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.392, allocations: 11.98 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.392, allocations: 3.938 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.866e-05/0.3921, allocations: 121.8 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3921, allocations: 3.906 kB / 1.061 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.3923, allocations: 80.78 kB / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3924, allocations: 3.984 kB / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3924, allocations: 7.969 kB / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3924, allocations: 0 / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3926, allocations: 153.7 kB / 1.061 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3926, allocations: 7.953 kB / 1.061 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.3926, allocations: 12.17 kB / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3927, allocations: 4 kB / 1.061 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3927, allocations: 0 / 1.061 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3927, allocations: 0 / 1.061 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3927, allocations: 3.984 kB / 1.061 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.3929, allocations: 171.5 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.393, allocations: 81.06 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.393, allocations: 8 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.3931, allocations: 12.02 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.3931, allocations: 0 / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3931, allocations: 7.938 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.3932, allocations: 79.27 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3932, allocations: 4 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000218/0.3934, allocations: 3.938 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.3936, allocations: 99.25 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3938, allocations: 55.91 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3938, allocations: 0 / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.579e-05/0.3939, allocations: 28.03 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.3942, allocations: 0 / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.3945, allocations: 114.6 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3948, allocations: 0.677 MB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.249e-05/0.3949, allocations: 0 / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.3949, allocations: 7.438 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.3949, allocations: 4.062 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of Templates: time 0.002505/0.3974, allocations: 370.1 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches