Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 109.5 kB / 17.08 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 194.7 kB / 20.03 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.714/1.714, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.016/3.016, allocations: 490 MB / 0.7695 GB, free: 3.125 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.89 kB / 1.104 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.96/0.962, allocations: 164 MB / 1.264 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001845/0.9639, allocations: 0.6719 MB / 1.265 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.9659, allocations: 1.154 MB / 1.266 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.9659, allocations: 4.906 kB / 1.266 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.966, allocations: 0.6094 kB / 1.266 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.212e-05/0.9661, allocations: 9.844 kB / 1.266 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.9667, allocations: 141.9 kB / 1.266 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.967, allocations: 144.9 kB / 1.266 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.9672, allocations: 14.91 kB / 1.266 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.9673, allocations: 50.53 kB / 1.266 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.9675, allocations: 64.2 kB / 1.266 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.9675, allocations: 13.22 kB / 1.266 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.9676, allocations: 31.5 kB / 1.266 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.9677, allocations: 16.39 kB / 1.266 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.9678, allocations: 56.5 kB / 1.266 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.9681, allocations: 135.9 kB / 1.266 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.9682, allocations: 0 / 1.266 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.637e-06/0.9682, allocations: 0 / 1.266 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.9682, allocations: 1.031 kB / 1.266 GB, free: 5.988 MB / 0.9981 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.0007363/0.9689, allocations: 417.9 kB / 1.267 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.969, allocations: 10.03 kB / 1.267 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.9691, allocations: 12.53 kB / 1.267 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.9695, allocations: 215.5 kB / 1.267 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.9696, allocations: 6.891 kB / 1.267 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.9696, allocations: 19.22 kB / 1.267 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.9698, allocations: 79.67 kB / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.9699, allocations: 4.688 kB / 1.267 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.9699, allocations: 6.5 kB / 1.267 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.9699, allocations: 1.594 kB / 1.267 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.9701, allocations: 44.58 kB / 1.267 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.9707, allocations: 351.3 kB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.971, allocations: 91.03 kB / 1.268 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.021e-05/0.971, allocations: 45.11 kB / 1.268 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.9711, allocations: 0.8125 kB / 1.268 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003339/0.9714, allocations: 137.8 kB / 1.268 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.9714, allocations: 0.8438 kB / 1.268 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0004756/0.9719, allocations: 196.8 kB / 1.268 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.9719, allocations: 59.17 kB / 1.268 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.972, allocations: 115.2 kB / 1.268 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.9721, allocations: 35.16 kB / 1.268 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.9721, allocations: 88.33 kB / 1.268 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.9722, allocations: 35.31 kB / 1.268 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.971e-05/0.9723, allocations: 46.94 kB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.9724, allocations: 328.1 kB / 1.269 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.9725, allocations: 44.23 kB / 1.269 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.9727, allocations: 95.06 kB / 1.269 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.9729, allocations: 137.8 kB / 1.269 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9729, allocations: 0.7812 kB / 1.269 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003756/0.9732, allocations: 211.4 kB / 1.269 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.9733, allocations: 38.31 kB / 1.269 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9733, allocations: 2.125 kB / 1.269 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.9733, allocations: 1.5 kB / 1.269 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.749e-05/0.9734, allocations: 9.625 kB / 1.269 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.9734, allocations: 2.344 kB / 1.269 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.9736, allocations: 40.23 kB / 1.269 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.9737, allocations: 13.14 kB / 1.269 GB, free: 3.73 MB / 0.9981 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.0001039/0.9738, allocations: 136.4 kB / 1.269 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.9738, allocations: 10.31 kB / 1.269 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.9739, allocations: 9.672 kB / 1.269 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.9739, allocations: 2.453 kB / 1.269 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.9739, allocations: 0.6875 kB / 1.269 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.9739, allocations: 0.6562 kB / 1.269 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.9743, allocations: 443.4 kB / 1.27 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.9743, allocations: 0 / 1.27 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.9744, allocations: 5.188 kB / 1.27 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.9744, allocations: 1.453 kB / 1.27 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.9744, allocations: 7.781 kB / 1.27 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.9744, allocations: 0.7812 kB / 1.27 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9744, allocations: 0.6562 kB / 1.27 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.9747, allocations: 257.5 kB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.9748, allocations: 95.14 kB / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.9748, allocations: 8.641 kB / 1.27 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.9749, allocations: 14.16 kB / 1.27 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.975, allocations: 11.64 kB / 1.27 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.975, allocations: 15.95 kB / 1.27 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.27e-05/0.975, allocations: 82.42 kB / 1.27 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.975, allocations: 0.8125 kB / 1.27 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002947/0.9753, allocations: 33.38 kB / 1.27 GB, free: 2.84 MB / 0.9981 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.0001816/0.9755, allocations: 116.8 kB / 1.27 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.9759, allocations: 193.4 kB / 1.271 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9759, allocations: 0 / 1.271 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.976, allocations: 74.22 kB / 1.271 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.9763, allocations: 16.69 kB / 1.271 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.9768, allocations: 231.6 kB / 1.271 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.9769, allocations: 0.6927 MB / 1.271 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.977, allocations: 18.44 kB / 1.272 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.977, allocations: 0 / 1.272 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of Templates: time 0.004073/0.981, allocations: 1.451 MB / 1.273 GB, free: 1.586 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time [Calling sys.exit(0), Time elapsed: 11.61384231003467]