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.2/2.2, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001037/0.001037, allocations: 184.8 kB / 487.4 MB, free: 5.066 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.434/1.434, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009603, allocations: 97.45 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.182e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.375, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.451, allocations: 157.8 MB / 1.36 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.451, allocations: 90.28 kB / 1.36 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0356/1.486, allocations: 15.37 MB / 1.375 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.295e-06/1.487, allocations: 0 / 1.375 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.662e-05/1.487, allocations: 24.11 kB / 1.375 GB, free: 32.55 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.001268/1.488, allocations: 0.908 MB / 1.376 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.488, allocations: 11.72 kB / 1.376 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/1.488, allocations: 89.12 kB / 1.376 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/1.489, allocations: 461.4 kB / 1.377 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-05/1.489, allocations: 54.08 kB / 1.377 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/1.489, allocations: 38.78 kB / 1.377 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005564/1.489, allocations: 356.6 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/1.49, allocations: 0.5695 MB / 1.378 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/1.49, allocations: 4 kB / 1.378 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/1.49, allocations: 7.828 kB / 1.378 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/1.49, allocations: 15.38 kB / 1.378 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/1.493, allocations: 2.576 MB / 1.38 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/1.493, allocations: 340.9 kB / 1.38 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/1.493, allocations: 156.2 kB / 1.381 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/1.493, allocations: 10.91 kB / 1.381 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/1.494, allocations: 245 kB / 1.381 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/1.494, allocations: 3.938 kB / 1.381 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0005329/1.494, allocations: 329.3 kB / 1.381 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.494, allocations: 228.6 kB / 1.381 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/1.495, allocations: 0.5197 MB / 1.382 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/1.495, allocations: 40.08 kB / 1.382 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/1.495, allocations: 378 kB / 1.382 GB, free: 28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/1.495, allocations: 103.2 kB / 1.382 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/1.495, allocations: 0 / 1.382 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.495, allocations: 384 kB / 1.383 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/1.495, allocations: 137.9 kB / 1.383 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/1.496, allocations: 347.6 kB / 1.383 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/1.496, allocations: 147.9 kB / 1.383 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/1.496, allocations: 7.828 kB / 1.383 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006044/1.497, allocations: 484.8 kB / 1.384 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.497, allocations: 7.688 kB / 1.384 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.497, allocations: 7.734 kB / 1.384 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/1.497, allocations: 16.3 kB / 1.384 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/1.497, allocations: 88.2 kB / 1.384 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.497, allocations: 23.42 kB / 1.384 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/1.497, allocations: 54.56 kB / 1.384 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/1.497, allocations: 30.5 kB / 1.384 GB, free: 27.07 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.0001493/1.497, allocations: 148.8 kB / 1.384 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/1.497, allocations: 72.89 kB / 1.384 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006002/1.498, allocations: 357.2 kB / 1.385 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/1.498, allocations: 7.594 kB / 1.385 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.498, allocations: 0 / 1.385 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/1.498, allocations: 7.859 kB / 1.385 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/1.499, allocations: 0.9226 MB / 1.385 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/1.499, allocations: 7.828 kB / 1.385 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/1.499, allocations: 38.91 kB / 1.386 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.499, allocations: 3.812 kB / 1.386 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/1.499, allocations: 11.67 kB / 1.386 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/1.499, allocations: 7.781 kB / 1.386 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/1.499, allocations: 4 kB / 1.386 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/1.5, allocations: 0.5356 MB / 1.386 GB, free: 26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/1.5, allocations: 146.2 kB / 1.386 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/1.5, allocations: 11.02 kB / 1.386 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/1.5, allocations: 27.58 kB / 1.386 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.501, allocations: 57.09 kB / 1.386 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/1.501, allocations: 18.98 kB / 1.386 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003448/1.501, allocations: 375.4 kB / 1.387 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.501, allocations: 0 / 1.387 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005045/1.501, allocations: 112 kB / 1.387 GB, free: 25.67 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.0009508/1.502, allocations: 437.2 kB / 1.387 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005188/1.503, allocations: 372.9 kB / 1.388 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.503, allocations: 0 / 1.388 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/1.503, allocations: 183.4 kB / 1.388 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/1.504, allocations: 78.77 kB / 1.388 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/1.505, allocations: 0.8344 MB / 1.389 GB, free: 24.94 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/1.505, allocations: 0.9595 MB / 1.39 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002324/1.506, allocations: 74.81 kB / 1.39 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/1.506, allocations: 49.98 kB / 1.39 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of SimCode: time 1.313e-06/1.506, allocations: 3.938 kB / 1.39 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of Templates: time 0.01019/1.516, allocations: 5.449 MB / 1.395 GB, free: 21.41 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