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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001048/0.001048, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009586/0.009587, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.862/2.862, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003862, allocations: 16.19 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4379, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001408/0.4394, allocations: 404.5 kB / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.4408, allocations: 0.7884 MB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.908e-05/0.4408, allocations: 0 / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.4409, allocations: 0 / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.601e-05/0.441, allocations: 3.938 kB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.4412, allocations: 8 kB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.733e-05/0.4413, allocations: 19.98 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.4414, allocations: 8 kB / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.4415, allocations: 19.86 kB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.4415, allocations: 3.984 kB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.4415, allocations: 4 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.4416, allocations: 0 / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.4416, allocations: 7.922 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.4417, allocations: 33.7 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.083e-05/0.4417, allocations: 23.91 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4418, allocations: 0 / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4418, allocations: 0 / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.4418, allocations: 4 kB / 1.06 GB, free: 4.133 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.000489/0.4423, allocations: 335.7 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.4423, allocations: 8.031 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.4424, allocations: 4.938 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.4425, allocations: 168.3 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4426, allocations: 384 / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.4426, allocations: 4.375 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.4428, allocations: 58.23 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.4429, allocations: 192 / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.4429, allocations: 7.938 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4429, allocations: 3.938 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.4431, allocations: 43.97 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.4435, allocations: 252.9 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.4437, allocations: 46.44 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.4438, allocations: 28.91 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.4439, allocations: 0 / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.4439, allocations: 38.48 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.4439, allocations: 0 / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004535/0.4444, allocations: 97.66 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4445, allocations: 51.41 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.4446, allocations: 101.8 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.4446, allocations: 25.7 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.4447, allocations: 88.27 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.4447, allocations: 3.906 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.4447, allocations: 13.72 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4449, allocations: 314.8 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.445, allocations: 19.98 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.91e-05/0.4451, allocations: 23.98 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.4453, allocations: 52.75 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4453, allocations: 4 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002377/0.4455, allocations: 77.67 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4456, allocations: 5.719 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.4456, allocations: 0 / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4456, allocations: 0 / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.4457, allocations: 16.02 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4458, allocations: 0 / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.4458, allocations: 12.17 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.4458, allocations: 0 / 1.062 GB, free: 2.039 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.4459, allocations: 119.3 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.446, allocations: 7.891 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.4463, allocations: 88.72 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4463, allocations: 0 / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4463, allocations: 0 / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4463, allocations: 0 / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4465, allocations: 165.6 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4465, allocations: 0 / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.4466, allocations: 16.02 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4466, allocations: 0 / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.4466, allocations: 4 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4466, allocations: 3.938 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4466, allocations: 0 / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.4469, allocations: 175.4 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.447, allocations: 77.11 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.447, allocations: 4 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.21e-05/0.4471, allocations: 19.92 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.4471, allocations: 0 / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.4471, allocations: 4 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.4472, allocations: 79.31 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4472, allocations: 4 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002263/0.4474, allocations: 3.938 kB / 1.063 GB, free: 1.188 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002134/0.4476, allocations: 103.2 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.4479, allocations: 47.97 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4479, allocations: 4 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.61e-05/0.448, allocations: 23.92 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.4484, allocations: 9.125 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.4487, allocations: 122.7 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.4491, allocations: 0.677 MB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.4491, allocations: 0 / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.4491, allocations: 7.438 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.4492, allocations: 0 / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of Templates: time 0.003006/0.4522, allocations: 378.1 kB / 1.064 GB, free: 15.77 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