Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.u1|sta.u1Up|sta.u1Dow|sta.idxSta",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex") translateModel(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.u1|sta.u1Up|sta.u1Dow|sta.idxSta",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 108.6 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.696/2.696, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 67.83 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex): time 0.004868/1.122, allocations: 2.348 MB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002468/1.125, allocations: 1.025 MB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003616/1.125, allocations: 8 kB / 1.171 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006214/1.126, allocations: 211 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003044/1.126, allocations: 123.3 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/1.127, allocations: 398.3 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002454/1.13, allocations: 2.193 MB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002481/1.132, allocations: 1.604 MB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/1.133, allocations: 0.8342 MB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/1.134, allocations: 0.6929 MB / 1.177 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000405/1.135, allocations: 180 kB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005589/1.135, allocations: 224 kB / 1.177 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0009924/1.136, allocations: 0.8029 MB / 1.178 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/1.138, allocations: 0.7858 MB / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003237/1.141, allocations: 2.642 MB / 1.181 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.141, allocations: 0 / 1.181 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.903e-06/1.141, allocations: 0 / 1.181 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.139e-05/1.141, allocations: 0 / 1.181 GB, free: 5.719 MB / 0.9044 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.00365/1.145, allocations: 1.777 MB / 1.183 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/1.145, allocations: 12.62 kB / 1.183 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004422/1.145, allocations: 151.3 kB / 1.183 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/1.147, allocations: 0.9869 MB / 1.184 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/1.147, allocations: 130.5 kB / 1.184 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/1.148, allocations: 160.4 kB / 1.184 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/1.151, allocations: 1.833 MB / 1.186 GB, free: 444 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/1.151, allocations: 4.125 kB / 1.186 GB, free: 440 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/1.151, allocations: 59.92 kB / 1.186 GB, free: 380 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/1.151, allocations: 28 kB / 1.186 GB, free: 352 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/1.153, allocations: 1.401 MB / 1.187 GB, free: 14.94 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008907/1.162, allocations: 6.201 MB / 1.193 GB, free: 8.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/1.164, allocations: 1.489 MB / 1.195 GB, free: 6.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008958/1.165, allocations: 0.6671 MB / 1.196 GB, free: 6.281 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.357e-05/1.165, allocations: 20.59 kB / 1.196 GB, free: 6.262 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/1.166, allocations: 1.007 MB / 1.197 GB, free: 5.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=109): time 3.277e-06/1.167, allocations: 0 / 1.197 GB, free: 5.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=109): time 0.003263/1.17, allocations: 1.858 MB / 1.198 GB, free: 3.348 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/1.17, allocations: 350.7 kB / 1.199 GB, free: 2.934 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/1.171, allocations: 0.9325 MB / 1.2 GB, free: 1.988 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003851/1.172, allocations: 121.6 kB / 1.2 GB, free: 1.863 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000574/1.172, allocations: 0.5013 MB / 1.2 GB, free: 1.352 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002804/1.173, allocations: 253 kB / 1.2 GB, free: 1.102 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007248/1.173, allocations: 495.7 kB / 1.201 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002319/1.174, allocations: 418.7 kB / 1.201 GB, free: 200 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008732/1.174, allocations: 0.5661 MB / 1.202 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/1.176, allocations: 1.565 MB / 1.203 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/1.178, allocations: 1.217 MB / 1.205 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/1.178, allocations: 4 kB / 1.205 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002584/1.181, allocations: 1.523 MB / 1.206 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/1.181, allocations: 8.969 kB / 1.206 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.181, allocations: 12 kB / 1.206 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/1.181, allocations: 24 kB / 1.206 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/1.181, allocations: 147.6 kB / 1.206 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.091e-05/1.181, allocations: 31.86 kB / 1.206 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/1.183, allocations: 223.2 kB / 1.207 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.184, allocations: 67.98 kB / 1.207 GB, free: 10.33 MB / 0.9356 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.001126/1.185, allocations: 0.6435 MB / 1.207 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/1.185, allocations: 94.95 kB / 1.207 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/1.187, allocations: 1.389 MB / 1.209 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/1.187, allocations: 11.97 kB / 1.209 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/1.187, allocations: 8 kB / 1.209 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/1.187, allocations: 179.9 kB / 1.209 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.188, allocations: 63.89 kB / 1.209 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/1.188, allocations: 35.97 kB / 1.209 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/1.188, allocations: 216.7 kB / 1.209 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002662/1.191, allocations: 2.287 MB / 1.211 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002508/1.194, allocations: 2.325 MB / 1.214 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009408/1.194, allocations: 0.73 MB / 1.214 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008025/1.195, allocations: 0.5771 MB / 1.215 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of Backend: time 5.71e-07/1.195, allocations: 0 / 1.215 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003179/1.198, allocations: 0.9977 MB / 1.216 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003567/1.202, allocations: 2.27 MB / 1.218 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of Templates: time 0.03364/1.236, allocations: 17.61 MB / 1.235 GB, free: 12.88 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Controls_BaseClasses_Validation_StageIndex.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Controls.BaseClasses.Validation.StageIndex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches