Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001043/0.001043, allocations: 176.2 kB / 492.3 MB, free: 0.5898 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.821/1.821, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.00091/0.0009098, allocations: 102.7 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.057e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.27, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9327/1.203, allocations: 158.5 MB / 1.367 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/1.203, allocations: 89.47 kB / 1.367 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03511/1.238, allocations: 15.57 MB / 1.382 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/1.238, allocations: 0 / 1.382 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.801e-05/1.238, allocations: 15.84 kB / 1.382 GB, free: 31.89 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.001236/1.239, allocations: 0.913 MB / 1.383 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.239, allocations: 11.53 kB / 1.383 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/1.24, allocations: 97.39 kB / 1.383 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006183/1.24, allocations: 455 kB / 1.384 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-05/1.24, allocations: 85.59 kB / 1.384 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.9e-05/1.24, allocations: 66.38 kB / 1.384 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008825/1.241, allocations: 0.647 MB / 1.385 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/1.241, allocations: 0 / 1.385 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/1.241, allocations: 24.44 kB / 1.385 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/1.241, allocations: 19.06 kB / 1.385 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005504/1.242, allocations: 406 kB / 1.385 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/1.244, allocations: 2.691 MB / 1.388 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/1.245, allocations: 363.1 kB / 1.388 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/1.245, allocations: 177.5 kB / 1.388 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/1.245, allocations: 7.766 kB / 1.388 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/1.246, allocations: 261.9 kB / 1.388 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/1.246, allocations: 0 / 1.388 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0006255/1.246, allocations: 362.2 kB / 1.389 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.246, allocations: 227.9 kB / 1.389 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006351/1.247, allocations: 0.5796 MB / 1.39 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/1.247, allocations: 50.98 kB / 1.39 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/1.247, allocations: 369.8 kB / 1.39 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.829e-05/1.247, allocations: 115.5 kB / 1.39 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/1.247, allocations: 13.34 kB / 1.39 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.248, allocations: 383 kB / 1.39 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/1.248, allocations: 149.6 kB / 1.391 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/1.248, allocations: 364 kB / 1.391 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/1.248, allocations: 159.1 kB / 1.391 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.248, allocations: 4 kB / 1.391 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006784/1.249, allocations: 0.5471 MB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.249, allocations: 8.938 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.249, allocations: 7.688 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/1.249, allocations: 11.53 kB / 1.392 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/1.249, allocations: 91.97 kB / 1.392 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/1.249, allocations: 19.53 kB / 1.392 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/1.25, allocations: 75.53 kB / 1.392 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/1.25, allocations: 30.5 kB / 1.392 GB, free: 26.3 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.0001394/1.25, allocations: 178.3 kB / 1.392 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/1.25, allocations: 65.84 kB / 1.392 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/1.251, allocations: 396.1 kB / 1.393 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.251, allocations: 7.688 kB / 1.393 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.251, allocations: 0 / 1.393 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.251, allocations: 7.828 kB / 1.393 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/1.252, allocations: 1.024 MB / 1.394 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.252, allocations: 4 kB / 1.394 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/1.252, allocations: 37.53 kB / 1.394 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/1.252, allocations: 3.75 kB / 1.394 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/1.252, allocations: 14.92 kB / 1.394 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/1.252, allocations: 3.875 kB / 1.394 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.252, allocations: 3.953 kB / 1.394 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/1.253, allocations: 0.5693 MB / 1.394 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-05/1.253, allocations: 149.4 kB / 1.394 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/1.253, allocations: 21.14 kB / 1.394 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/1.253, allocations: 26.62 kB / 1.394 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.253, allocations: 66.95 kB / 1.394 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/1.253, allocations: 15.03 kB / 1.394 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000402/1.254, allocations: 431.4 kB / 1.395 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.254, allocations: 0 / 1.395 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005325/1.254, allocations: 127 kB / 1.395 GB, free: 24.83 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.001023/1.255, allocations: 446.2 kB / 1.395 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005961/1.256, allocations: 408.7 kB / 1.396 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.256, allocations: 448 / 1.396 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/1.256, allocations: 211.6 kB / 1.396 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/1.257, allocations: 85.62 kB / 1.396 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/1.258, allocations: 0.8497 MB / 1.397 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/1.258, allocations: 0.9656 MB / 1.398 GB, free: 23.31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002391/1.259, allocations: 78.86 kB / 1.398 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/1.259, allocations: 49.08 kB / 1.398 GB, free: 23.26 MB / 0.8386 GB Notification: Performance of SimCode: time 4.9e-07/1.259, allocations: 0 / 1.398 GB, free: 23.26 MB / 0.8386 GB Notification: Performance of Templates: time 0.01121/1.27, allocations: 6.149 MB / 1.404 GB, free: 18.98 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches