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.001618/0.001618, allocations: 110.2 kB / 19.69 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.002024/0.002024, allocations: 219.5 kB / 23.01 MB, free: 4.566 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.231/3.231, allocations: 0.505 GB / 0.8108 GB, free: 21.96 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.002296/0.002296, allocations: 64.28 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3828, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001985/0.3848, allocations: 0.6645 MB / 1.355 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.3864, allocations: 1.198 MB / 1.356 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.3865, allocations: 4 kB / 1.356 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.3865, allocations: 3.938 kB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.3866, allocations: 7.922 kB / 1.356 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.3871, allocations: 148.5 kB / 1.356 GB, free: 5.898 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.3873, allocations: 143.7 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.3874, allocations: 12 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.3875, allocations: 59.84 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3876, allocations: 51.86 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.3877, allocations: 15.94 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.3877, allocations: 27.98 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.3878, allocations: 23.91 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.3878, allocations: 51.84 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.3881, allocations: 131.6 kB / 1.357 GB, free: 5.391 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3881, allocations: 0 / 1.357 GB, free: 5.391 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3881, allocations: 0 / 1.357 GB, free: 5.391 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3881, allocations: 0 / 1.357 GB, free: 5.391 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006941/0.3888, allocations: 351.8 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3888, allocations: 12.03 kB / 1.357 GB, free: 4.996 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.3889, allocations: 8.891 kB / 1.357 GB, free: 4.988 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.3893, allocations: 154.6 kB / 1.357 GB, free: 4.812 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.3893, allocations: 8.359 kB / 1.357 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.3894, allocations: 12.38 kB / 1.357 GB, free: 4.793 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.3896, allocations: 86.19 kB / 1.357 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3896, allocations: 3.938 kB / 1.357 GB, free: 4.699 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3896, allocations: 7.938 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3896, allocations: 0 / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.657e-05/0.3897, allocations: 43.91 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.3903, allocations: 323.7 kB / 1.358 GB, free: 4.289 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.3905, allocations: 86.53 kB / 1.358 GB, free: 4.195 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.3905, allocations: 28.84 kB / 1.358 GB, free: 4.164 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.3905, allocations: 0 / 1.358 GB, free: 4.164 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.3908, allocations: 131.5 kB / 1.358 GB, free: 4.023 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 3.336e-06/0.3908, allocations: 3.984 kB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.000406/0.3912, allocations: 205.6 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3913, allocations: 59.39 kB / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.614e-05/0.3914, allocations: 109.8 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.3914, allocations: 33.7 kB / 1.358 GB, free: 3.586 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3915, allocations: 92.03 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.3915, allocations: 31.8 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.3916, allocations: 45.7 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3918, allocations: 322.8 kB / 1.359 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3919, allocations: 51.97 kB / 1.359 GB, free: 3.035 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.392, allocations: 86.45 kB / 1.359 GB, free: 2.938 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3922, allocations: 144 kB / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3922, allocations: 0 / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003625/0.3926, allocations: 215.2 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.3926, allocations: 33.7 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3926, allocations: 0 / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3927, allocations: 4 kB / 1.359 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.3927, allocations: 8 kB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3927, allocations: 7.922 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.3929, allocations: 43.98 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.393, allocations: 11.94 kB / 1.359 GB, free: 2.441 MB / 1.045 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.0001623/0.3931, allocations: 134.4 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.3931, allocations: 4 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3932, allocations: 12.44 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3932, allocations: 0 / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3932, allocations: 0 / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3932, allocations: 4 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.3936, allocations: 412.8 kB / 1.36 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3936, allocations: 0 / 1.36 GB, free: 1.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.3937, allocations: 4 kB / 1.36 GB, free: 1.824 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3937, allocations: 4 kB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3937, allocations: 4 kB / 1.36 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.3937, allocations: 4 kB / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3937, allocations: 0 / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.394, allocations: 271.3 kB / 1.36 GB, free: 1.531 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.394, allocations: 11.94 kB / 1.36 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.394, allocations: 8 kB / 1.36 GB, free: 1.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.3941, allocations: 7.984 kB / 1.36 GB, free: 1.504 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.3942, allocations: 11.97 kB / 1.36 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.3942, allocations: 11.94 kB / 1.36 GB, free: 1.48 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.214e-05/0.3943, allocations: 91.27 kB / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3943, allocations: 0 / 1.36 GB, free: 1.391 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002727/0.3945, allocations: 35.95 kB / 1.36 GB, free: 1.355 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: 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.00017/0.3947, allocations: 112 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.395, allocations: 175.2 kB / 1.36 GB, free: 1.055 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.395, allocations: 0 / 1.36 GB, free: 1.055 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3951, allocations: 55.97 kB / 1.361 GB, free: 1 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.3954, allocations: 12.53 kB / 1.361 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.3958, allocations: 216.5 kB / 1.361 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3962, allocations: 0.7001 MB / 1.361 GB, free: 16 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.3962, allocations: 11.44 kB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3962, allocations: 4 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of Templates: time 0.003394/0.3996, allocations: 1.475 MB / 1.363 GB, free: 14.54 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.267568830982782]