Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01149/0.01149, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.002376/0.002377, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.598/1.598, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.959/2.959, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4646, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002061/0.4667, allocations: 0.7457 MB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.4687, allocations: 1.261 MB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.065e-05/0.4688, allocations: 0 / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.4689, allocations: 11.86 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.469, allocations: 15.86 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008961/0.4699, allocations: 249.3 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.4703, allocations: 267.5 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.4704, allocations: 16.22 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.4706, allocations: 99.8 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.4708, allocations: 95.73 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.4709, allocations: 24 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.471, allocations: 39.92 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.4711, allocations: 39.89 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.4712, allocations: 91.73 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.4717, allocations: 215.4 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4717, allocations: 3.938 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.464e-06/0.4717, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.4717, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009524/0.4727, allocations: 0.4945 MB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.4728, allocations: 11.98 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.4728, allocations: 24.83 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.4736, allocations: 260.1 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.4736, allocations: 12.36 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.4737, allocations: 20.38 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.4739, allocations: 139.8 kB / 1.171 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4739, allocations: 3.938 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.474, allocations: 0 / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.474, allocations: 7.984 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.4741, allocations: 63.89 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008699/0.475, allocations: 0.5124 MB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.4753, allocations: 153.2 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.4754, allocations: 61.69 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.4754, allocations: 4 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.4759, allocations: 217 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.4759, allocations: 0 / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=22): time 0.0006475/0.4765, allocations: 309.4 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.4766, allocations: 88.98 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4767, allocations: 130.1 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.4768, allocations: 45.69 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.4769, allocations: 92.66 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.4769, allocations: 51.62 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.477, allocations: 77.67 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4772, allocations: 322.8 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.4774, allocations: 88.23 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.4776, allocations: 148.7 kB / 1.173 GB, free: 36 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.478, allocations: 258.9 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.478, allocations: 0 / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000556/0.4785, allocations: 360.6 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.4787, allocations: 71.61 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4787, allocations: 4 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4787, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.4788, allocations: 19.94 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.4788, allocations: 7.922 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.4792, allocations: 63.83 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.4792, allocations: 23.98 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001519/0.4794, allocations: 144 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.4794, allocations: 19.89 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.4795, allocations: 12.5 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4795, allocations: 4 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.4795, allocations: 3.938 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4795, allocations: 0 / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007512/0.4803, allocations: 0.6187 MB / 1.174 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4803, allocations: 0 / 1.174 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.4803, allocations: 16 kB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4803, allocations: 3.938 kB / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.4804, allocations: 7.984 kB / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4804, allocations: 0 / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4804, allocations: 0 / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.4809, allocations: 428.8 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.4809, allocations: 89.14 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.481, allocations: 19.86 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.4811, allocations: 11.98 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/0.4812, allocations: 19.97 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.4813, allocations: 19.98 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.581e-05/0.4814, allocations: 91.27 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4814, allocations: 0 / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003646/0.4817, allocations: 59.95 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002505/0.482, allocations: 127.2 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005626/0.4826, allocations: 342.6 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4826, allocations: 4 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.4828, allocations: 123.7 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.4832, allocations: 28.36 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.4838, allocations: 280.1 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.4842, allocations: 0.7047 MB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.577e-05/0.4843, allocations: 17.55 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.4843, allocations: 23.42 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.4843, allocations: 0 / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.006439/0.4908, allocations: 2.7 MB / 1.179 GB, free: 9.137 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches