Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.001374/0.001374, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001512/0.001512, allocations: 210.5 kB / 23 MB, free: 4.934 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.314/3.314, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [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.002049/0.002049, allocations: 62.69 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.353, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003789/0.3568, allocations: 2.169 MB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.3594, allocations: 1.36 MB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.3596, allocations: 7.938 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.3601, allocations: 175.3 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000559/0.3607, allocations: 219.1 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.3611, allocations: 183.6 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005021/0.3616, allocations: 438.8 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.3618, allocations: 65.48 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.362, allocations: 183.2 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.3623, allocations: 195.2 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.3623, allocations: 28 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.3625, allocations: 83.95 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.3626, allocations: 119.5 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.3628, allocations: 123.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.3634, allocations: 0.4979 MB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3634, allocations: 4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3634, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.3634, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001242/0.3646, allocations: 0.6633 MB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3647, allocations: 8.031 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.3648, allocations: 52.61 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/0.3654, allocations: 356.7 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3654, allocations: 12.38 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.3655, allocations: 23.92 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.3659, allocations: 197.9 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3659, allocations: 4 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.3659, allocations: 7.984 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3659, allocations: 4 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.3661, allocations: 91.89 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3673, allocations: 0.6877 MB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.3676, allocations: 141.3 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3677, allocations: 49.7 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.3677, allocations: 0 / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.368, allocations: 133 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.368, allocations: 0 / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005696/0.3686, allocations: 237.3 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.3686, allocations: 106.8 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007116/0.3694, allocations: 0.576 MB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.3694, allocations: 33.69 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3696, allocations: 200.5 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.3696, allocations: 43.83 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.3697, allocations: 77.58 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3699, allocations: 354.8 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.3701, allocations: 112.5 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.3704, allocations: 242.9 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.3708, allocations: 196.4 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3708, allocations: 7.938 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006459/0.3714, allocations: 361.1 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3714, allocations: 11.94 kB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3714, allocations: 0 / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3715, allocations: 8.094 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.3717, allocations: 47.92 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3717, allocations: 3.984 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.3719, allocations: 39.86 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.3719, allocations: 8 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002156/0.3721, allocations: 200 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.3722, allocations: 35.77 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.3727, allocations: 212.9 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3727, allocations: 0 / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3727, allocations: 4 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3728, allocations: 47.7 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.3728, allocations: 4 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.373, allocations: 19.97 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.3731, allocations: 23.91 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004697/0.3735, allocations: 336.1 kB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005108/0.374, allocations: 453.7 kB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001482/0.3742, allocations: 59.95 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004109/0.3746, allocations: 355.1 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of Backend: time 3.81e-07/0.3746, allocations: 4 kB / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00274/0.3773, allocations: 0.6585 MB / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of SimCode: time 0.001516/0.3789, allocations: 1.119 MB / 1.341 GB, free: 2.453 MB / 1.029 GB Notification: Performance of Templates: time 0.01139/0.3902, allocations: 5.696 MB / 1.347 GB, free: 12.84 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.307866021001246]