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.351/2.351, allocations: 390.5 MB / 398 MB, free: 10.94 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.001669/0.001669, allocations: 188.2 kB / 491.2 MB, free: 1.562 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.736/1.736, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.001119/0.001119, allocations: 91.81 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.914e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3132, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.404, allocations: 158.6 MB / 1.367 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.405, allocations: 93.98 kB / 1.367 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05834/1.463, allocations: 15.36 MB / 1.382 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.442e-06/1.463, allocations: 0 / 1.382 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.372e-05/1.463, allocations: 23.19 kB / 1.382 GB, free: 30.69 MB / 0.8386 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.001227/1.464, allocations: 0.9084 MB / 1.383 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/1.464, allocations: 7.688 kB / 1.383 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/1.464, allocations: 93.06 kB / 1.383 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/1.465, allocations: 459.2 kB / 1.384 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.472e-05/1.465, allocations: 57.11 kB / 1.384 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.47e-05/1.465, allocations: 42.53 kB / 1.384 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006069/1.466, allocations: 352.7 kB / 1.384 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/1.467, allocations: 0.5736 MB / 1.385 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/1.467, allocations: 7.938 kB / 1.385 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/1.467, allocations: 3.844 kB / 1.385 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/1.467, allocations: 15.38 kB / 1.385 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/1.469, allocations: 2.588 MB / 1.387 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/1.47, allocations: 332.1 kB / 1.388 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/1.47, allocations: 159.5 kB / 1.388 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/1.47, allocations: 3.906 kB / 1.388 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/1.47, allocations: 246.2 kB / 1.388 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/1.47, allocations: 0 / 1.388 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0005668/1.471, allocations: 338.5 kB / 1.388 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/1.471, allocations: 224 kB / 1.388 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/1.471, allocations: 0.518 MB / 1.389 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/1.471, allocations: 36.64 kB / 1.389 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/1.472, allocations: 381.8 kB / 1.389 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/1.472, allocations: 102.2 kB / 1.389 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/1.472, allocations: 160 / 1.389 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.472, allocations: 388.5 kB / 1.39 GB, free: 25.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/1.472, allocations: 139.6 kB / 1.39 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/1.472, allocations: 341 kB / 1.39 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/1.472, allocations: 154.1 kB / 1.39 GB, free: 25.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.472, allocations: 3.812 kB / 1.39 GB, free: 25.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005556/1.473, allocations: 487.9 kB / 1.391 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.473, allocations: 11.62 kB / 1.391 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.473, allocations: 7.719 kB / 1.391 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.473, allocations: 7.688 kB / 1.391 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/1.473, allocations: 85.11 kB / 1.391 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.473, allocations: 19.58 kB / 1.391 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/1.474, allocations: 54.72 kB / 1.391 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/1.474, allocations: 30.69 kB / 1.391 GB, free: 25.22 MB / 0.8386 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 () * 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.000128/1.474, allocations: 162.2 kB / 1.391 GB, free: 25.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/1.474, allocations: 57.97 kB / 1.391 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005339/1.474, allocations: 362.6 kB / 1.392 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.474, allocations: 11.59 kB / 1.392 GB, free: 24.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.474, allocations: 3.984 kB / 1.392 GB, free: 24.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.474, allocations: 7.812 kB / 1.392 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009739/1.475, allocations: 0.921 MB / 1.393 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.475, allocations: 3.938 kB / 1.393 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/1.476, allocations: 46.59 kB / 1.393 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.476, allocations: 3.875 kB / 1.393 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/1.476, allocations: 11.77 kB / 1.393 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.476, allocations: 0 / 1.393 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.476, allocations: 3.875 kB / 1.393 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/1.476, allocations: 0.5391 MB / 1.393 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/1.476, allocations: 138.4 kB / 1.393 GB, free: 24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/1.476, allocations: 19.39 kB / 1.393 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/1.477, allocations: 19.64 kB / 1.393 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.477, allocations: 66.02 kB / 1.393 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/1.477, allocations: 18.58 kB / 1.393 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002946/1.477, allocations: 371.1 kB / 1.394 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.477, allocations: 0 / 1.394 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004575/1.477, allocations: 122.1 kB / 1.394 GB, free: 23.8 MB / 0.8386 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) * 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.0008216/1.478, allocations: 428.3 kB / 1.394 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004512/1.479, allocations: 375 kB / 1.395 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.479, allocations: 0 / 1.395 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/1.479, allocations: 176.8 kB / 1.395 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/1.479, allocations: 79.83 kB / 1.395 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/1.481, allocations: 0.8396 MB / 1.396 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/1.481, allocations: 0.9639 MB / 1.397 GB, free: 22.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002121/1.481, allocations: 82.66 kB / 1.397 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/1.481, allocations: 49.52 kB / 1.397 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.481, allocations: 0 / 1.397 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of Templates: time 0.00923/1.491, allocations: 5.428 MB / 1.402 GB, free: 19.57 MB / 0.8386 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