Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.TimerNegativeStartTime,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",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,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",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01029/0.01029, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001901/0.001901, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.562/1.562, 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.889/2.889, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 59.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4378, 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.TimerNegativeStartTime): time 0.002479/0.4404, allocations: 0.6788 MB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.4425, allocations: 1.16 MB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.4427, allocations: 7.938 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.407e-05/0.4428, allocations: 3.938 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.775e-05/0.4429, allocations: 7.922 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.4436, allocations: 147 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.4438, allocations: 143.8 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.4441, allocations: 19.92 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.4443, allocations: 59.89 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.4444, allocations: 51.81 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.4445, allocations: 16 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.4446, allocations: 23.98 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.4446, allocations: 23.97 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.898e-05/0.4447, allocations: 51.83 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.445, allocations: 127.6 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.445, allocations: 0 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.285e-06/0.4451, allocations: 0 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.4451, allocations: 4 kB / 1.169 GB, free: 4.258 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000858/0.4459, allocations: 428.9 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.446, allocations: 15.98 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.635e-05/0.4461, allocations: 12.89 kB / 1.17 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.4466, allocations: 204.5 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.4466, allocations: 8.359 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.4467, allocations: 20.38 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.4469, allocations: 78.19 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4469, allocations: 3.938 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.4469, allocations: 4 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.4469, allocations: 0 / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.4471, allocations: 43.91 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000723/0.4478, allocations: 360.6 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.448, allocations: 94.53 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.4481, allocations: 45.03 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4481, allocations: 7.969 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003676/0.4485, allocations: 123.3 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.4485, allocations: 4 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.000505/0.449, allocations: 204.8 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.4491, allocations: 63.33 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.4493, allocations: 113.7 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.4493, allocations: 33.7 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.279e-05/0.4494, allocations: 88.14 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.4495, allocations: 35.78 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.4496, allocations: 41.7 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.4499, allocations: 326.8 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.45, allocations: 51.97 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.4502, allocations: 88.2 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.4504, allocations: 129.9 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4504, allocations: 4 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004287/0.4509, allocations: 215.2 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.4509, allocations: 35.58 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.4509, allocations: 4 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.451, allocations: 0 / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.776e-05/0.4511, allocations: 11.94 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.4511, allocations: 7.984 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.4513, allocations: 39.98 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.4514, allocations: 8 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001566/0.4515, allocations: 129.8 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.4516, allocations: 7.953 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.4516, allocations: 12.5 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4516, allocations: 4 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4517, allocations: 4 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4517, allocations: 0 / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.4522, allocations: 430.4 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4522, allocations: 3.984 kB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.4523, allocations: 4 kB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4523, allocations: 0 / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.4523, allocations: 4 kB / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4523, allocations: 0 / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4523, allocations: 0 / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.4527, allocations: 279.1 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.4528, allocations: 89 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.4528, allocations: 0 / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.763e-05/0.4529, allocations: 15.98 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.453, allocations: 19.91 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.453, allocations: 12.02 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.941e-05/0.4531, allocations: 83.27 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4531, allocations: 4 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003061/0.4534, allocations: 32 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002728/0.4537, allocations: 113.5 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.4541, allocations: 195.2 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4542, allocations: 3.938 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.4543, allocations: 67.98 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.4546, allocations: 23.36 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.4552, allocations: 194.4 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.4556, allocations: 0.6885 MB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.684e-05/0.4557, allocations: 8.562 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.4558, allocations: 15.42 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.4558, allocations: 4 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.005416/0.4612, allocations: 1.64 MB / 1.176 GB, free: 12.88 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches