Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 184.3 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008356/0.0008357, allocations: 86.34 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003433, allocations: 15.19 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.207, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.3818, allocations: 140.8 MB / 1.038 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.3821, allocations: 95.94 kB / 1.038 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03914/0.4212, allocations: 15.46 MB / 1.053 GB, free: 3.266 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4213, allocations: 0 / 1.053 GB, free: 3.266 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.197e-05/0.4213, allocations: 20 kB / 1.053 GB, free: 3.246 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001414/0.4227, allocations: 0.9892 MB / 1.054 GB, free: 2.191 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4228, allocations: 8.031 kB / 1.054 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.4229, allocations: 98.81 kB / 1.054 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/0.4236, allocations: 460 kB / 1.054 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.4237, allocations: 82.98 kB / 1.054 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.4238, allocations: 64 kB / 1.054 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.4248, allocations: 0.6715 MB / 1.055 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4249, allocations: 4 kB / 1.055 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.4249, allocations: 20 kB / 1.055 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.4249, allocations: 16 kB / 1.055 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007932/0.4257, allocations: 455.5 kB / 1.056 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3997/0.8255, allocations: 2.711 MB / 1.058 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.8261, allocations: 298.7 kB / 1.059 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.8262, allocations: 6.141 kB / 1.059 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.8265, allocations: 202.5 kB / 1.059 GB, free: 142.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 2.425e-06/0.8266, allocations: 1.75 kB / 1.059 GB, free: 142.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.0009506/0.8275, allocations: 491.4 kB / 1.059 GB, free: 142.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.8276, allocations: 88.42 kB / 1.059 GB, free: 142.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/0.8282, allocations: 0.5992 MB / 1.06 GB, free: 142.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.8283, allocations: 47.2 kB / 1.06 GB, free: 142.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.8285, allocations: 391.2 kB / 1.06 GB, free: 142.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.8286, allocations: 88.41 kB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.8286, allocations: 11.47 kB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.8287, allocations: 391.1 kB / 1.061 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.8291, allocations: 162.3 kB / 1.061 GB, free: 141.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.8295, allocations: 373.9 kB / 1.061 GB, free: 141.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.8298, allocations: 166.6 kB / 1.061 GB, free: 141.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8298, allocations: 2.625 kB / 1.061 GB, free: 141.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008993/0.8307, allocations: 0.5878 MB / 1.062 GB, free: 141.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.8307, allocations: 8.516 kB / 1.062 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.8307, allocations: 10.59 kB / 1.062 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.8308, allocations: 11.38 kB / 1.062 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.8311, allocations: 86.22 kB / 1.062 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.8311, allocations: 9.281 kB / 1.062 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.8315, allocations: 72.67 kB / 1.062 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.8315, allocations: 28.83 kB / 1.062 GB, free: 141.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003183/0.8318, allocations: 270.4 kB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.8319, allocations: 68.36 kB / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007852/0.8327, allocations: 435.8 kB / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.8327, allocations: 4.719 kB / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8327, allocations: 3.094 kB / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.8328, allocations: 5.547 kB / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.8343, allocations: 1.066 MB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8343, allocations: 0 / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.8345, allocations: 37.75 kB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.8345, allocations: 4.297 kB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.8345, allocations: 7.797 kB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.8345, allocations: 2.5 kB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8346, allocations: 5 kB / 1.064 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.8352, allocations: 0.4972 MB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.8354, allocations: 143.2 kB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.8354, allocations: 12.12 kB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.8357, allocations: 29.28 kB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.8359, allocations: 57.53 kB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.8359, allocations: 17.64 kB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004931/0.8364, allocations: 443.3 kB / 1.065 GB, free: 140.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8364, allocations: 0 / 1.065 GB, free: 140.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005592/0.837, allocations: 124.3 kB / 1.065 GB, free: 140.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.838, allocations: 483.4 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008719/0.8389, allocations: 431.8 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8389, allocations: 3.688 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.8393, allocations: 184.2 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.8398, allocations: 94.19 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.842, allocations: 1.34 MB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.8426, allocations: 0.9621 MB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003469/0.843, allocations: 79.34 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.8431, allocations: 46.94 kB / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of SimCode: time 8.52e-07/0.8431, allocations: 0 / 1.069 GB, free: 139 MB / 0.698 GB Notification: Performance of Templates: time 0.01447/0.8576, allocations: 5.981 MB / 1.075 GB, free: 138.6 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches