Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.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.001876/0.001876, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002698/0.002698, allocations: 213.9 kB / 23 MB, free: 4.969 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.319/3.319, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.Combined.Controls.BaseClasses.Validation.StageIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.u1|sta.u1Up|sta.u1Dow|sta.idxSta",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex") translateModel(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.u1|sta.u1Up|sta.u1Dow|sta.idxSta",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex") [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.002082/0.002082, allocations: 65.5 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4208, allocations: 176.1 MB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex): time 0.004556/0.4254, allocations: 2.291 MB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.4276, allocations: 1.013 MB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.4278, allocations: 15.88 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006022/0.4284, allocations: 211 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.4287, allocations: 131.3 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.4299, allocations: 410.5 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.4323, allocations: 2.197 MB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.4343, allocations: 1.292 MB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.4354, allocations: 0.8538 MB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009901/0.4363, allocations: 0.7046 MB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.4367, allocations: 180 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005231/0.4372, allocations: 224 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.4383, allocations: 0.838 MB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009114/0.4392, allocations: 0.6458 MB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002906/0.4421, allocations: 2.616 MB / 1.34 GB, free: 3.211 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4421, allocations: 0 / 1.34 GB, free: 3.211 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.617e-06/0.4421, allocations: 3.984 kB / 1.34 GB, free: 3.207 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.096e-05/0.4421, allocations: 0 / 1.34 GB, free: 3.207 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003463/0.4456, allocations: 1.729 MB / 1.342 GB, free: 1.426 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4456, allocations: 8.031 kB / 1.342 GB, free: 1.418 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008549/0.4465, allocations: 204 kB / 1.342 GB, free: 1.219 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.4486, allocations: 0.962 MB / 1.343 GB, free: 232 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.4487, allocations: 122.6 kB / 1.343 GB, free: 108 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003348/0.4491, allocations: 156.4 kB / 1.343 GB, free: 15.95 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.4521, allocations: 1.826 MB / 1.345 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.4521, allocations: 8.125 kB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.4522, allocations: 51.92 kB / 1.345 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.4523, allocations: 35.98 kB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.4546, allocations: 1.393 MB / 1.347 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008261/0.4628, allocations: 5.576 MB / 1.352 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.465, allocations: 1.404 MB / 1.354 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009172/0.4659, allocations: 0.6007 MB / 1.354 GB, free: 4.637 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.348e-05/0.466, allocations: 20.59 kB / 1.354 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001526/0.4675, allocations: 1.005 MB / 1.355 GB, free: 3.566 MB / 1.045 GB Notification: Performance of pre-optimization done (n=109): time 3.777e-06/0.4675, allocations: 3.938 kB / 1.355 GB, free: 3.562 MB / 1.045 GB Notification: Performance of matching and sorting (n=109): time 0.00346/0.471, allocations: 1.848 MB / 1.357 GB, free: 1.711 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002518/0.4712, allocations: 353.4 kB / 1.357 GB, free: 1.293 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.4727, allocations: 0.9448 MB / 1.358 GB, free: 348 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0004139/0.4731, allocations: 121.6 kB / 1.358 GB, free: 220 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/0.4737, allocations: 0.5067 MB / 1.359 GB, free: 15.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003208/0.474, allocations: 270 kB / 1.359 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000718/0.4747, allocations: 483.7 kB / 1.36 GB, free: 14.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002735/0.475, allocations: 422.7 kB / 1.36 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008691/0.4759, allocations: 0.5621 MB / 1.36 GB, free: 13.97 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003014/0.4789, allocations: 2.824 MB / 1.363 GB, free: 10.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.4807, allocations: 1.221 MB / 1.364 GB, free: 9.129 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.4807, allocations: 8 kB / 1.364 GB, free: 9.121 MB / 1.061 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002814/0.4835, allocations: 1.524 MB / 1.366 GB, free: 7.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.4835, allocations: 8 kB / 1.366 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.4835, allocations: 12 kB / 1.366 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.38e-05/0.4836, allocations: 20 kB / 1.366 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.4842, allocations: 143.6 kB / 1.366 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-05/0.4842, allocations: 35.86 kB / 1.366 GB, free: 7.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.4864, allocations: 227.8 kB / 1.366 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.4865, allocations: 52 kB / 1.366 GB, free: 7.102 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 148 ($PRE.sta.enaLea.enableFire,$PRE.sta.enaLag[1].enableFire,$PRE.sta.enaLag[2].enableFire,$PRE.sta.enaLag[3].enableFire,$PRE.sta.disLag[1].enableFire,$PRE.sta.disLag[2].enableFire,$PRE.sta.disLag[3].enableFire,$PRE.sta.disAll[1].enableFire,$PRE.sta.disAll[2].enableFire,$PRE.sta.disAll[3].enableFire,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[3],$PRE.booTimTab.intTimTab.y[3],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[3],booTimTab.y[2],sta.or2.y,sta.edg.y,sta.edg.u,$PRE.sta.edg.u,sta.disAll[3].outPort.occupied,sta.disAll[3].enableFire,sta.disAll[3].localCondition,sta.disAll[2].outPort.occupied,sta.disAll[2].enableFire,sta.disAll[2].localCondition,sta.disAll[1].enableFire,sta.disAll[1].localCondition,sta.disLag[3].outPort.occupied,sta.disLag[3].enableFire,sta.disLag[3].localCondition,sta.disLag[2].outPort.occupied,sta.disLag[2].enableFire,sta.disLag[2].localCondition,sta.disLag[1].outPort.occupied,sta.disLag[1].enableFire,sta.disLag[1].localCondition,sta.rep1.y[3],sta.rep.y[3],sta.tim0.entryTime,$PRE.sta.tim0.entryTime,sta.tim0.passed,$PRE.sta.tim0.passed,sta.tim[3].entryTime,$PRE.sta.tim[3].entryTime,sta.tim[3].passed,$PRE.sta.tim[3].passed,sta.tim[2].entryTime,$PRE.sta.tim[2].entryTime,sta.tim[2].passed,$PRE.sta.tim[2].passed,sta.tim[1].entryTime,$PRE.sta.tim[1].entryTime,sta.tim[1].passed,$PRE.sta.tim[1].passed,sta.enaLag[3].outPort.occupied,sta.enaLag[3].enableFire,sta.enaLag[3].localCondition,sta.enaLag[2].enableFire,sta.enaLag[2].localCondition,sta.enaLag[1].enableFire,sta.enaLag[1].localCondition,sta.stateGraphRoot.activeSteps,sta.enaLea.enableFire,sta.enaLea.localCondition,sta.sta[3].active,sta.sta[3].oldActive,$PRE.sta.sta[3].oldActive,sta.sta[3].newActive,$PRE.sta.sta[3].newActive,sta.sta[3].outPort[3].available,sta.sta[3].outPort[2].available,sta.sta[3].localActive,$PRE.sta.sta[3].localActive,sta.sta[2].active,sta.sta[2].oldActive,$PRE.sta.sta[2].oldActive,sta.sta[2].newActive,$PRE.sta.sta[2].newActive,sta.sta[2].outPort[3].available,sta.sta[2].outPort[2].available,sta.sta[2].localActive,$PRE.sta.sta[2].localActive,sta.sta[1].active,sta.sta[1].oldActive,$PRE.sta.sta[1].oldActive,sta.sta[1].newActive,$PRE.sta.sta[1].newActive,sta.sta[1].outPort[3].available,sta.sta[1].outPort[2].available,sta.sta[1].localActive,$PRE.sta.sta[1].localActive,sta.sta0.active,sta.sta0.oldActive,$PRE.sta.sta0.oldActive,sta.sta0.newActive,$PRE.sta.sta0.newActive,sta.sta0.localActive,$PRE.sta.sta0.localActive,sta.idxSta,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition12,$whenCondition11,$whenCondition10,sta.preIdxSta,$PRE.sta.idxSta,sta.enaLea.t_start,$PRE.sta.enaLea.t_start,sta.enaLag[1].t_start,$PRE.sta.enaLag[1].t_start,sta.enaLag[2].t_start,$PRE.sta.enaLag[2].t_start,sta.enaLag[3].t_start,$PRE.sta.enaLag[3].t_start,sta.disLag[1].t_start,$PRE.sta.disLag[1].t_start,sta.disLag[2].t_start,$PRE.sta.disLag[2].t_start,sta.disLag[3].t_start,$PRE.sta.disLag[3].t_start,sta.disAll[1].t_start,$PRE.sta.disAll[1].t_start,sta.disAll[2].t_start,$PRE.sta.disAll[2].t_start,sta.disAll[3].t_start,$PRE.sta.disAll[3].t_start,sta.stateGraphRoot.resume,sta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * 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.001229/0.4878, allocations: 0.6396 MB / 1.367 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.488, allocations: 103.4 kB / 1.367 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.4902, allocations: 1.307 MB / 1.368 GB, free: 5.031 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.4902, allocations: 7.984 kB / 1.368 GB, free: 5.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/0.4902, allocations: 4 kB / 1.368 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.4904, allocations: 99.28 kB / 1.368 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.4906, allocations: 59.95 kB / 1.369 GB, free: 4.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.4909, allocations: 43.89 kB / 1.369 GB, free: 4.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004501/0.4914, allocations: 260.7 kB / 1.369 GB, free: 4.566 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002685/0.494, allocations: 2.228 MB / 1.371 GB, free: 2.324 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002533/0.4966, allocations: 2.29 MB / 1.373 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009067/0.4975, allocations: 0.6092 MB / 1.374 GB, free: 15.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008333/0.4983, allocations: 0.5732 MB / 1.374 GB, free: 14.83 MB / 1.076 GB Notification: Performance of Backend: time 2.4e-07/0.4983, allocations: 0 / 1.374 GB, free: 14.83 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00306/0.5014, allocations: 0.9393 MB / 1.375 GB, free: 13.89 MB / 1.076 GB Notification: Performance of SimCode: time 0.003679/0.505, allocations: 2.287 MB / 1.378 GB, free: 11.54 MB / 1.076 GB Notification: Performance of Templates: time 0.03401/0.5391, allocations: 19.55 MB / 1.397 GB, free: 8.223 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Controls_BaseClasses_Validation_StageIndex.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.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: 10.008796166999673]