Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 102.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.712/2.712, allocations: 476.7 MB / 0.7634 GB, free: 10.89 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.89 kB / 1.108 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8681/0.87, allocations: 168.7 MB / 1.272 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002905/0.8729, allocations: 1.48 MB / 1.274 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008258/0.8737, allocations: 452.5 kB / 1.274 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.8738, allocations: 3.938 kB / 1.274 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.8738, allocations: 3.938 kB / 1.274 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.24e-05/0.8739, allocations: 11.92 kB / 1.274 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.8741, allocations: 27.97 kB / 1.274 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.933e-05/0.8742, allocations: 47.86 kB / 1.274 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.8743, allocations: 11.98 kB / 1.274 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.8744, allocations: 23.92 kB / 1.274 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.8744, allocations: 19.91 kB / 1.274 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.8744, allocations: 4 kB / 1.274 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.8745, allocations: 4 kB / 1.274 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.8745, allocations: 15.92 kB / 1.274 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.8745, allocations: 23.86 kB / 1.274 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.8747, allocations: 51.47 kB / 1.274 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8747, allocations: 0 / 1.274 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8747, allocations: 0 / 1.274 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.8747, allocations: 0 / 1.274 GB, free: 2.484 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006238/0.8753, allocations: 370 kB / 1.275 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.8753, allocations: 8.625 kB / 1.275 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.8754, allocations: 4.938 kB / 1.275 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.8756, allocations: 164.3 kB / 1.275 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.8756, allocations: 8.375 kB / 1.275 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.8756, allocations: 12.36 kB / 1.275 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.8757, allocations: 57.94 kB / 1.275 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.8757, allocations: 4 kB / 1.275 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.8757, allocations: 0 / 1.275 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8757, allocations: 0 / 1.275 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.992e-05/0.8758, allocations: 19.98 kB / 1.275 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.8764, allocations: 312.7 kB / 1.275 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.8765, allocations: 50.62 kB / 1.275 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.8765, allocations: 20.88 kB / 1.275 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.8765, allocations: 0 / 1.275 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.8767, allocations: 83.31 kB / 1.276 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.8767, allocations: 0 / 1.276 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002553/0.877, allocations: 101.6 kB / 1.276 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.877, allocations: 51.41 kB / 1.276 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.8772, allocations: 113.8 kB / 1.276 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.8772, allocations: 25.7 kB / 1.276 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.8772, allocations: 88.14 kB / 1.276 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.8773, allocations: 23.83 kB / 1.276 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.8773, allocations: 25.72 kB / 1.276 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8775, allocations: 326.7 kB / 1.276 GB, free: 448 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.554e-05/0.8775, allocations: 16 kB / 1.276 GB, free: 432 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.8776, allocations: 47.42 kB / 1.276 GB, free: 372 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.8777, allocations: 75.53 kB / 1.276 GB, free: 284 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8777, allocations: 0 / 1.276 GB, free: 284 kB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001702/0.8778, allocations: 97.5 kB / 1.276 GB, free: 180 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8779, allocations: 8.031 kB / 1.277 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8779, allocations: 4 kB / 1.277 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.8779, allocations: 0 / 1.277 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.878, allocations: 12 kB / 1.277 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.878, allocations: 4 kB / 1.277 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.878, allocations: 11.92 kB / 1.277 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.8781, allocations: 0 / 1.277 GB, free: 140 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001096/0.8782, allocations: 127.5 kB / 1.277 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.8782, allocations: 3.953 kB / 1.277 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.8782, allocations: 16.11 kB / 1.277 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.8782, allocations: 0 / 1.277 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8782, allocations: 0 / 1.277 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8782, allocations: 0 / 1.277 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.8787, allocations: 358.8 kB / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8787, allocations: 0 / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.8787, allocations: 4 kB / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8787, allocations: 96 / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.8787, allocations: 7.938 kB / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8787, allocations: 7.938 kB / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8787, allocations: 0 / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.8789, allocations: 183.4 kB / 1.277 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.879, allocations: 77.11 kB / 1.277 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.879, allocations: 4 kB / 1.277 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.8791, allocations: 11.92 kB / 1.277 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.8791, allocations: 15.92 kB / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.8791, allocations: 4 kB / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.838e-05/0.8792, allocations: 79.28 kB / 1.277 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8792, allocations: 0 / 1.277 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002343/0.8794, allocations: 19.95 kB / 1.277 GB, free: 15.12 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001216/0.8795, allocations: 102.2 kB / 1.278 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.8797, allocations: 55.91 kB / 1.278 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8797, allocations: 0 / 1.278 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.8797, allocations: 23.94 kB / 1.278 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.88, allocations: 23.19 kB / 1.278 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.8804, allocations: 175 kB / 1.278 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.8807, allocations: 0.6807 MB / 1.278 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.8808, allocations: 15.44 kB / 1.278 GB, free: 14 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.8808, allocations: 288 / 1.278 GB, free: 14 MB / 0.9825 GB Notification: Performance of Templates: time 0.002679/0.8834, allocations: 0.8767 MB / 1.279 GB, free: 13.12 MB / 0.9825 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time