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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 217.3 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.222/3.222, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 74.67 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3564, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002048/0.3584, allocations: 0.6566 MB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3601, allocations: 1.183 MB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.3602, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.3602, allocations: 3.938 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.791e-05/0.3603, allocations: 7.938 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.3608, allocations: 151.2 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.3611, allocations: 143.7 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3612, allocations: 8 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3613, allocations: 63.83 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3614, allocations: 47.86 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.3614, allocations: 12 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.692e-05/0.3615, allocations: 27.98 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.3616, allocations: 15.98 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.3616, allocations: 51.83 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.3619, allocations: 119.7 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3619, allocations: 4 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3619, allocations: 0 / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.3619, allocations: 0 / 1.367 GB, free: 11.13 MB / 1.061 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.0006795/0.3626, allocations: 355.7 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3626, allocations: 8.031 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.3627, allocations: 12.89 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.3631, allocations: 146.6 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.3631, allocations: 8.375 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.3631, allocations: 16.36 kB / 1.368 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.3633, allocations: 82.14 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3633, allocations: 7.922 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3633, allocations: 0 / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.3633, allocations: 8 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.814e-05/0.3634, allocations: 43.91 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.364, allocations: 280.4 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.3642, allocations: 82.47 kB / 1.368 GB, free: 9.992 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.761e-05/0.3643, allocations: 33.91 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.3643, allocations: 0 / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00031/0.3646, allocations: 127.3 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.3646, allocations: 0 / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0004215/0.365, allocations: 203.7 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.365, allocations: 59.39 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3652, allocations: 113.8 kB / 1.369 GB, free: 9.426 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.3652, allocations: 33.7 kB / 1.369 GB, free: 9.387 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.3653, allocations: 84.3 kB / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.3653, allocations: 43.72 kB / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.984e-05/0.3654, allocations: 37.7 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3655, allocations: 322.8 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3657, allocations: 85.67 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.3658, allocations: 115.2 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.366, allocations: 137.9 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.366, allocations: 3.938 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003812/0.3664, allocations: 243.3 kB / 1.37 GB, free: 8.254 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.3665, allocations: 37.69 kB / 1.37 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3665, allocations: 4.125 kB / 1.37 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3665, allocations: 4 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.3666, allocations: 12 kB / 1.37 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.3666, allocations: 4.25 kB / 1.37 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.3668, allocations: 39.84 kB / 1.37 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.3668, allocations: 12 kB / 1.37 GB, free: 8.137 MB / 1.061 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.0001283/0.3669, allocations: 122.9 kB / 1.37 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.367, allocations: 19.94 kB / 1.37 GB, free: 7.988 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.367, allocations: 12.44 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.367, allocations: 0 / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.367, allocations: 0 / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.367, allocations: 4 kB / 1.37 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.3675, allocations: 374 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3675, allocations: 0 / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.3675, allocations: 8 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3675, allocations: 0 / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.3675, allocations: 8 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.3675, allocations: 3.984 kB / 1.37 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3675, allocations: 4 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.3679, allocations: 275.3 kB / 1.371 GB, free: 7.258 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.3679, allocations: 19.88 kB / 1.371 GB, free: 7.238 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3679, allocations: 4 kB / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.368, allocations: 7.984 kB / 1.371 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.3681, allocations: 15.97 kB / 1.371 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.3681, allocations: 4 kB / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.3681, allocations: 91.27 kB / 1.371 GB, free: 7.117 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3681, allocations: 0 / 1.371 GB, free: 7.117 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002739/0.3684, allocations: 32 kB / 1.371 GB, free: 7.086 MB / 1.061 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.0001641/0.3686, allocations: 112.4 kB / 1.371 GB, free: 6.969 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.3689, allocations: 212.2 kB / 1.371 GB, free: 6.746 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3689, allocations: 3.938 kB / 1.371 GB, free: 6.742 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.369, allocations: 55.97 kB / 1.371 GB, free: 6.688 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3693, allocations: 13.55 kB / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.3698, allocations: 220.2 kB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.206e-05/0.3698, allocations: 75.59 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.3699, allocations: 23.36 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3699, allocations: 0 / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of Templates: time 0.003586/0.3735, allocations: 1.466 MB / 1.373 GB, free: 4.859 MB / 1.061 GB " [Timeout remaining time 300] 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.280651143752038]