Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 192.4 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 443.5 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002887/0.002887, allocations: 67.89 kB / 1.061 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.961/0.9639, allocations: 160.8 MB / 1.218 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002263/0.9662, allocations: 0.6756 MB / 1.219 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.968, allocations: 1.176 MB / 1.22 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.828e-05/0.9681, allocations: 1.125 kB / 1.22 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.9681, allocations: 3.938 kB / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.9682, allocations: 14.59 kB / 1.22 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.9688, allocations: 150.8 kB / 1.22 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.969, allocations: 140.1 kB / 1.221 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.9691, allocations: 11.95 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.9693, allocations: 53.19 kB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.9694, allocations: 54.17 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.9694, allocations: 14.03 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.062e-05/0.9695, allocations: 27.11 kB / 1.221 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.9696, allocations: 24.17 kB / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.9697, allocations: 51.98 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.9699, allocations: 137.5 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9699, allocations: 0 / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9699, allocations: 0 / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.9699, allocations: 0 / 1.221 GB, free: 1.676 MB / 0.92 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.0007304/0.9707, allocations: 419.8 kB / 1.221 GB, free: 1.246 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.9707, allocations: 9.625 kB / 1.221 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.9708, allocations: 12.52 kB / 1.221 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.9712, allocations: 218.2 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.9712, allocations: 4.781 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.9713, allocations: 17.86 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.9714, allocations: 81.48 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9715, allocations: 3.938 kB / 1.222 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.9715, allocations: 9.141 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.9715, allocations: 6.016 kB / 1.222 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.597e-05/0.9716, allocations: 35.78 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.9722, allocations: 353.9 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.9724, allocations: 79.98 kB / 1.222 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.361e-05/0.9725, allocations: 34.09 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.9725, allocations: 9.016 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.9728, allocations: 123.3 kB / 1.222 GB, free: 380 kB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.9728, allocations: 3.938 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0004314/0.9732, allocations: 208 kB / 1.223 GB, free: 268 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.9733, allocations: 54.47 kB / 1.223 GB, free: 204 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.9734, allocations: 115.6 kB / 1.223 GB, free: 88 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.9734, allocations: 33.05 kB / 1.223 GB, free: 52 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.9737, allocations: 99.58 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.9737, allocations: 28.75 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/0.9738, allocations: 49.06 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002234/0.974, allocations: 325 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.9742, allocations: 45.33 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.9743, allocations: 83.53 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.9745, allocations: 141.7 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.9745, allocations: 1 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003953/0.9749, allocations: 203.4 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.975, allocations: 37.64 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.975, allocations: 5.141 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.975, allocations: 2.781 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.478e-05/0.9751, allocations: 11.53 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.9751, allocations: 6.281 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.9753, allocations: 38.64 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.9753, allocations: 11.3 kB / 1.224 GB, free: 15.17 MB / 0.9356 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.0001591/0.9755, allocations: 150.2 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.9755, allocations: 13.12 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.9756, allocations: 9.281 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.9756, allocations: 2.219 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.9756, allocations: 3.938 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9756, allocations: 0.9688 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.9761, allocations: 431.1 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9761, allocations: 0 / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.9762, allocations: 11.09 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9762, allocations: 4.969 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.9763, allocations: 6.141 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9763, allocations: 1.125 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9763, allocations: 0 / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.9766, allocations: 261.8 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.9767, allocations: 87.27 kB / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.9767, allocations: 6.312 kB / 1.225 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.9768, allocations: 11.58 kB / 1.225 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.9768, allocations: 12.69 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.9769, allocations: 13.41 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.914e-05/0.9769, allocations: 89.36 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9769, allocations: 0 / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002896/0.9772, allocations: 35.62 kB / 1.225 GB, free: 14.2 MB / 0.9356 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.0002188/0.9774, allocations: 114.2 kB / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.9778, allocations: 178.1 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9778, allocations: 0 / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.9779, allocations: 50.58 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.9782, allocations: 20.94 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/0.9787, allocations: 197.8 kB / 1.225 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.979, allocations: 0.6895 MB / 1.226 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.217e-05/0.9791, allocations: 10.47 kB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.9791, allocations: 13.84 kB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.9791, allocations: 0 / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.005598/0.9847, allocations: 1.705 MB / 1.228 GB, free: 12.2 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.27900938782841]