Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001629/0.001629, 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.001543/0.001543, allocations: 213.9 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.257/3.257, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [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.002042/0.002042, allocations: 75.05 kB / 1.187 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3599, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003074/0.363, allocations: 1.497 MB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3643, allocations: 451.9 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.3643, allocations: 4 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.3644, allocations: 3.938 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.3645, allocations: 3.938 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.3647, allocations: 31.89 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3648, allocations: 51.84 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3649, allocations: 12 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.976e-05/0.3649, allocations: 27.86 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.365, allocations: 15.92 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.365, allocations: 4 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.365, allocations: 4 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.3651, allocations: 15.97 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.3651, allocations: 23.86 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.3652, allocations: 39.83 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3652, allocations: 0 / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3652, allocations: 0 / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3652, allocations: 0 / 1.367 GB, free: 11.43 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005184/0.3658, allocations: 291.6 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3658, allocations: 8.031 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.3658, allocations: 4.938 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.366, allocations: 118.4 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.366, allocations: 4.375 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.366, allocations: 4.375 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3662, allocations: 61.98 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3662, allocations: 0 / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3662, allocations: 4 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3662, allocations: 4 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.785e-05/0.3663, allocations: 27.92 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.3668, allocations: 240.4 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.3669, allocations: 50.69 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.3669, allocations: 24.86 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.3669, allocations: 3.938 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.3671, allocations: 79.31 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3671, allocations: 0 / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002393/0.3673, allocations: 101.6 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.3674, allocations: 55.41 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/0.3675, allocations: 113.8 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3675, allocations: 29.7 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.3675, allocations: 84.14 kB / 1.368 GB, free: 9.996 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.3676, allocations: 23.8 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.3676, allocations: 29.7 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3678, allocations: 322.8 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.3678, allocations: 23.92 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.406e-05/0.3679, allocations: 39.42 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.615e-05/0.368, allocations: 71.38 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.368, allocations: 0 / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001492/0.3681, allocations: 97.56 kB / 1.369 GB, free: 9.355 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3681, allocations: 5.875 kB / 1.369 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3681, allocations: 4 kB / 1.369 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3682, allocations: 0 / 1.369 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.3682, allocations: 11.98 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3682, allocations: 3.938 kB / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/0.3683, allocations: 8 kB / 1.369 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.3683, allocations: 4 kB / 1.369 GB, free: 9.32 MB / 1.061 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.0001068/0.3684, allocations: 130.5 kB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.3684, allocations: 3.953 kB / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.3685, allocations: 12.06 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3685, allocations: 0 / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3685, allocations: 4.062 kB / 1.369 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3685, allocations: 0 / 1.369 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.3689, allocations: 310.3 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3689, allocations: 0 / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.3689, allocations: 7.938 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3689, allocations: 4 kB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3689, allocations: 4 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3689, allocations: 4 kB / 1.369 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3689, allocations: 0 / 1.369 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3691, allocations: 187.4 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.3691, allocations: 4 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.3691, allocations: 288 / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.3692, allocations: 7.984 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.3692, allocations: 11.98 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3692, allocations: 3.938 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.3693, allocations: 83.27 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3693, allocations: 4 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002419/0.3695, allocations: 23.94 kB / 1.369 GB, free: 8.461 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: 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 9.623e-05/0.3696, allocations: 97.5 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.3698, allocations: 51.92 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3698, allocations: 0 / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.448e-05/0.3698, allocations: 27.92 kB / 1.37 GB, free: 8.281 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3701, allocations: 8 kB / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.3704, allocations: 171.8 kB / 1.37 GB, free: 8.074 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.021e-05/0.3705, allocations: 72.42 kB / 1.37 GB, free: 7.984 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.3705, allocations: 15.44 kB / 1.37 GB, free: 7.969 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3705, allocations: 0 / 1.37 GB, free: 7.969 MB / 1.061 GB Notification: Performance of Templates: time 0.002496/0.373, allocations: 0.8779 MB / 1.371 GB, free: 7.094 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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 [Calling sys.exit(0), Time elapsed: 11.299537223763764]