Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.326/2.326, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 179.9 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 223.2 MB / 0.7992 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 88.33 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.000442, allocations: 13.2 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3563, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/0.5807, allocations: 159.3 MB / 1.385 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.5811, allocations: 95.94 kB / 1.385 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0419/0.623, allocations: 15.62 MB / 1.4 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6231, allocations: 0 / 1.4 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.976e-05/0.6231, allocations: 16 kB / 1.4 GB, free: 6.07 MB / 0.9011 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.002324/0.6255, allocations: 1.006 MB / 1.401 GB, free: 5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.6255, allocations: 12.52 kB / 1.401 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.6259, allocations: 94.91 kB / 1.401 GB, free: 4.895 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.627, allocations: 464 kB / 1.402 GB, free: 4.402 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.6271, allocations: 79.02 kB / 1.402 GB, free: 4.316 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.6273, allocations: 67.94 kB / 1.402 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.6286, allocations: 0.672 MB / 1.402 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.6286, allocations: 7.938 kB / 1.402 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-05/0.6287, allocations: 24 kB / 1.403 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.6287, allocations: 16 kB / 1.403 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009577/0.6296, allocations: 447.5 kB / 1.403 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/0.6331, allocations: 2.706 MB / 1.406 GB, free: 216 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7536/1.387, allocations: 378 kB / 1.406 GB, free: 165 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/1.387, allocations: 11.92 kB / 1.406 GB, free: 165 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/1.388, allocations: 284.7 kB / 1.406 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=43): time 5.59e-06/1.388, allocations: 3.828 kB / 1.406 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43): time 0.002447/1.39, allocations: 0.5182 MB / 1.407 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/1.391, allocations: 222.2 kB / 1.407 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/1.392, allocations: 0.5833 MB / 1.408 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/1.392, allocations: 52.78 kB / 1.408 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/1.393, allocations: 372.4 kB / 1.408 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/1.393, allocations: 106.3 kB / 1.408 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/1.393, allocations: 11.28 kB / 1.408 GB, free: 164.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001932/1.393, allocations: 388.5 kB / 1.408 GB, free: 164 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/1.394, allocations: 169.8 kB / 1.409 GB, free: 164 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008195/1.395, allocations: 390.3 kB / 1.409 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/1.395, allocations: 180.7 kB / 1.409 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/1.395, allocations: 2.5 kB / 1.409 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001939/1.397, allocations: 0.5961 MB / 1.41 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/1.397, allocations: 8.031 kB / 1.41 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/1.397, allocations: 10 kB / 1.41 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.141e-05/1.397, allocations: 15.56 kB / 1.41 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/1.398, allocations: 83.45 kB / 1.41 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-05/1.398, allocations: 14.88 kB / 1.41 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/1.399, allocations: 70.48 kB / 1.41 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/1.399, allocations: 29.23 kB / 1.41 GB, free: 163.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition5.t_start,transition5.t_start,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 (83): * Single equations (assignments): 83 * 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.0005934/1.399, allocations: 276.2 kB / 1.41 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/1.4, allocations: 71.58 kB / 1.41 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/1.401, allocations: 429 kB / 1.411 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/1.401, allocations: 12.89 kB / 1.411 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.401, allocations: 1.062 kB / 1.411 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/1.401, allocations: 6.281 kB / 1.411 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/1.404, allocations: 1.067 MB / 1.412 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/1.404, allocations: 6.141 kB / 1.412 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/1.404, allocations: 34.59 kB / 1.412 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/1.405, allocations: 11.52 kB / 1.412 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.577e-05/1.405, allocations: 18.94 kB / 1.412 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/1.405, allocations: 2.656 kB / 1.412 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.405, allocations: 2.266 kB / 1.412 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/1.406, allocations: 0.6046 MB / 1.412 GB, free: 162.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/1.406, allocations: 146.8 kB / 1.413 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/1.406, allocations: 19.23 kB / 1.413 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/1.407, allocations: 35.05 kB / 1.413 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/1.407, allocations: 70.14 kB / 1.413 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/1.407, allocations: 15.2 kB / 1.413 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000895/1.408, allocations: 431.4 kB / 1.413 GB, free: 162.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.31e-07/1.408, allocations: 0 / 1.413 GB, free: 162.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001139/1.409, allocations: 128.2 kB / 1.413 GB, free: 162.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 40 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,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: 13 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001652/1.411, allocations: 497 kB / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001493/1.413, allocations: 456.5 kB / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.413, allocations: 1.656 kB / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006916/1.413, allocations: 213.4 kB / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007679/1.414, allocations: 85.12 kB / 1.414 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/1.417, allocations: 1.374 MB / 1.416 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/1.418, allocations: 0.9672 MB / 1.417 GB, free: 161 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004795/1.419, allocations: 83.31 kB / 1.417 GB, free: 161 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/1.419, allocations: 49.47 kB / 1.417 GB, free: 161 MB / 0.9011 GB Notification: Performance of SimCode: time 1.012e-06/1.419, allocations: 0 / 1.417 GB, free: 161 MB / 0.9011 GB Notification: Performance of Templates: time 0.03006/1.449, allocations: 6.047 MB / 1.423 GB, free: 160.6 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches