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.001671/0.001671, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002014/0.002014, allocations: 216.9 kB / 23.01 MB, free: 4.605 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.232/3.232, allocations: 0.505 GB / 0.8108 GB, free: 22.02 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.002065/0.002065, allocations: 71.09 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3554, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002842/0.3583, allocations: 1.502 MB / 1.356 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009007/0.3592, allocations: 490.8 kB / 1.356 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.3592, allocations: 0 / 1.356 GB, free: 5.957 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.3592, allocations: 7.922 kB / 1.356 GB, free: 5.949 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.263e-05/0.3593, allocations: 11.92 kB / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.3595, allocations: 19.92 kB / 1.356 GB, free: 5.918 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.3596, allocations: 51.84 kB / 1.356 GB, free: 5.867 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3597, allocations: 11.98 kB / 1.356 GB, free: 5.855 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.175e-05/0.3598, allocations: 27.88 kB / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.3599, allocations: 27.89 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3599, allocations: 7.938 kB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.3599, allocations: 4 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.3599, allocations: 15.98 kB / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.36, allocations: 19.88 kB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.3601, allocations: 43.81 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3601, allocations: 0 / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.576e-06/0.3601, allocations: 3.984 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3601, allocations: 0 / 1.356 GB, free: 5.707 MB / 1.045 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.0005934/0.3607, allocations: 290.2 kB / 1.357 GB, free: 5.395 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3607, allocations: 8.031 kB / 1.357 GB, free: 5.387 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.3608, allocations: 8.922 kB / 1.357 GB, free: 5.379 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3609, allocations: 110.5 kB / 1.357 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3609, allocations: 4.375 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3609, allocations: 4.375 kB / 1.357 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.3611, allocations: 65.92 kB / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3611, allocations: 0 / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.3611, allocations: 0 / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3611, allocations: 0 / 1.357 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.3612, allocations: 39.92 kB / 1.357 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.3616, allocations: 263.8 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3618, allocations: 54.59 kB / 1.357 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.3618, allocations: 20.94 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.3618, allocations: 4 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.362, allocations: 75.34 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.362, allocations: 0 / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0002384/0.3622, allocations: 109.8 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.3623, allocations: 51.41 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.3624, allocations: 105.8 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3624, allocations: 29.7 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.3625, allocations: 92.09 kB / 1.358 GB, free: 4.234 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.3625, allocations: 31.77 kB / 1.358 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.3625, allocations: 25.72 kB / 1.358 GB, free: 4.172 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3627, allocations: 326.8 kB / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.3627, allocations: 19.94 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.3628, allocations: 43.42 kB / 1.358 GB, free: 3.77 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.58e-05/0.3629, allocations: 71.36 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3629, allocations: 0 / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001465/0.3631, allocations: 89.61 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3631, allocations: 8 kB / 1.358 GB, free: 3.586 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3631, allocations: 0 / 1.358 GB, free: 3.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3631, allocations: 0 / 1.358 GB, free: 3.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.3632, allocations: 8 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.3632, allocations: 7.938 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.3632, allocations: 19.91 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.3633, allocations: 8 kB / 1.358 GB, free: 3.543 MB / 1.045 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 9.825e-05/0.3634, allocations: 122.4 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.3634, allocations: 4 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.3634, allocations: 8.062 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3634, allocations: 3.984 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3634, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3634, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.3638, allocations: 337.4 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3639, allocations: 4.062 kB / 1.359 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.3639, allocations: 7.938 kB / 1.359 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3639, allocations: 0 / 1.359 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3639, allocations: 4 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3639, allocations: 3.938 kB / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3639, allocations: 0 / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.3641, allocations: 183.5 kB / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.3641, allocations: 12.28 kB / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3641, allocations: 0 / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.3642, allocations: 11.92 kB / 1.359 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.3642, allocations: 11.97 kB / 1.359 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.3643, allocations: 4 kB / 1.359 GB, free: 2.766 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.3643, allocations: 79.28 kB / 1.359 GB, free: 2.688 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3643, allocations: 0 / 1.359 GB, free: 2.688 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002388/0.3645, allocations: 19.98 kB / 1.359 GB, free: 2.668 MB / 1.045 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.0001129/0.3647, allocations: 103.9 kB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.3648, allocations: 51.92 kB / 1.359 GB, free: 2.512 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3648, allocations: 0 / 1.359 GB, free: 2.512 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.614e-05/0.3648, allocations: 27.92 kB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.3651, allocations: 10.06 kB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.3655, allocations: 167.8 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3658, allocations: 0.6963 MB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.3659, allocations: 11.44 kB / 1.36 GB, free: 1.547 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.3659, allocations: 0 / 1.36 GB, free: 1.547 MB / 1.045 GB Notification: Performance of Templates: time 0.002497/0.3684, allocations: 0.8696 MB / 1.361 GB, free: 0.6797 MB / 1.045 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.377577734005172]