Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001073/0.001073, allocations: 192.8 kB / 487.4 MB, free: 5.059 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.655/1.655, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.001036/0.001036, allocations: 95.77 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.193e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2768, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.347, allocations: 156.7 MB / 1.359 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/1.347, allocations: 95.56 kB / 1.359 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03329/1.38, allocations: 14.3 MB / 1.373 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/1.381, allocations: 0 / 1.373 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.783e-05/1.381, allocations: 20.14 kB / 1.373 GB, free: 32.45 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00112/1.382, allocations: 0.8433 MB / 1.374 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/1.382, allocations: 11.62 kB / 1.374 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/1.382, allocations: 92.09 kB / 1.374 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/1.383, allocations: 446.5 kB / 1.374 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/1.383, allocations: 24.69 kB / 1.374 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/1.383, allocations: 38.83 kB / 1.375 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004995/1.383, allocations: 315.8 kB / 1.375 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006458/1.384, allocations: 0.5365 MB / 1.375 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/1.384, allocations: 0 / 1.375 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/1.384, allocations: 6.953 kB / 1.375 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/1.384, allocations: 15.53 kB / 1.375 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/1.386, allocations: 2.469 MB / 1.378 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/1.387, allocations: 349.8 kB / 1.378 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/1.387, allocations: 168.7 kB / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/1.387, allocations: 7.656 kB / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/1.387, allocations: 263.1 kB / 1.379 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 2.124e-06/1.387, allocations: 0 / 1.379 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.000511/1.388, allocations: 363.1 kB / 1.379 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/1.388, allocations: 217.5 kB / 1.379 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/1.388, allocations: 0.5283 MB / 1.38 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/1.388, allocations: 40.45 kB / 1.38 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/1.388, allocations: 343.9 kB / 1.38 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/1.389, allocations: 103.9 kB / 1.38 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/1.389, allocations: 0 / 1.38 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.389, allocations: 376.7 kB / 1.38 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/1.389, allocations: 121.1 kB / 1.381 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/1.389, allocations: 324.3 kB / 1.381 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/1.389, allocations: 139.8 kB / 1.381 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.389, allocations: 0 / 1.381 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00055/1.39, allocations: 466.5 kB / 1.381 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.39, allocations: 11.7 kB / 1.381 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.39, allocations: 7.906 kB / 1.381 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.39, allocations: 7.656 kB / 1.381 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/1.39, allocations: 77.25 kB / 1.382 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.39, allocations: 15.62 kB / 1.382 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/1.39, allocations: 35 kB / 1.382 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/1.391, allocations: 30.62 kB / 1.382 GB, free: 27.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition2.t_start,transition2.t_start,$PRE.transition1.t_start,transition1.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001519/1.391, allocations: 150.8 kB / 1.382 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004302/1.391, allocations: 356.5 kB / 1.382 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/1.391, allocations: 73.06 kB / 1.382 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005537/1.392, allocations: 379.2 kB / 1.383 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.392, allocations: 11.58 kB / 1.383 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.392, allocations: 0 / 1.383 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.392, allocations: 7.859 kB / 1.383 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/1.393, allocations: 0.9766 MB / 1.383 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.393, allocations: 0 / 1.383 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/1.393, allocations: 31.12 kB / 1.384 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/1.393, allocations: 3.781 kB / 1.384 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/1.393, allocations: 11.3 kB / 1.384 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.393, allocations: 3.938 kB / 1.384 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.393, allocations: 0 / 1.384 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/1.394, allocations: 0.5734 MB / 1.384 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.319e-05/1.394, allocations: 138.9 kB / 1.384 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/1.394, allocations: 15.17 kB / 1.384 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/1.394, allocations: 15.78 kB / 1.384 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.394, allocations: 49.83 kB / 1.384 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/1.394, allocations: 22.94 kB / 1.384 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003654/1.395, allocations: 379.3 kB / 1.385 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.395, allocations: 0 / 1.385 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005182/1.395, allocations: 104.2 kB / 1.385 GB, free: 26.05 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: 42 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.t_start,transition5.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001674/1.397, allocations: 1.763 MB / 1.387 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005038/1.397, allocations: 362.9 kB / 1.387 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.397, allocations: 0 / 1.387 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/1.398, allocations: 190.1 kB / 1.387 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/1.398, allocations: 75.09 kB / 1.387 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/1.4, allocations: 0.9513 MB / 1.388 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/1.4, allocations: 0.95 MB / 1.389 GB, free: 23.35 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002205/1.4, allocations: 82.83 kB / 1.389 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/1.4, allocations: 248.5 kB / 1.389 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of SimCode: time 7.91e-07/1.4, allocations: 0 / 1.389 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/1.428, allocations: 11.34 MB / 1.4 GB, free: 17.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/1.428, allocations: 181.6 kB / 1.401 GB, free: 17.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/3.598, allocations: 3.5 kB / 1.401 GB, free: 17.56 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat does not exist to compare? outputFormat=mat