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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",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.323/2.323, allocations: 387.4 MB / 394.9 MB, free: 13.47 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.001215/0.001215, allocations: 176.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.478/1.478, 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.00104/0.00104, allocations: 107.5 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.12e-05, allocations: 12 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2499, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8789/1.129, allocations: 157.8 MB / 1.36 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/1.129, allocations: 88.34 kB / 1.36 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03309/1.162, allocations: 15.36 MB / 1.375 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/1.162, allocations: 0 / 1.375 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.626e-05/1.162, allocations: 15.81 kB / 1.375 GB, free: 32.3 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.001105/1.163, allocations: 0.9121 MB / 1.376 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.163, allocations: 11.56 kB / 1.376 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/1.164, allocations: 97.27 kB / 1.376 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/1.164, allocations: 460.5 kB / 1.377 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/1.164, allocations: 54.06 kB / 1.377 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/1.164, allocations: 46.31 kB / 1.377 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005093/1.165, allocations: 343.2 kB / 1.377 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007019/1.166, allocations: 0.5768 MB / 1.378 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/1.166, allocations: 3.938 kB / 1.378 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/1.166, allocations: 3.844 kB / 1.378 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/1.166, allocations: 19.19 kB / 1.378 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/1.168, allocations: 2.576 MB / 1.38 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/1.168, allocations: 340.7 kB / 1.381 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/1.168, allocations: 160.1 kB / 1.381 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/1.168, allocations: 15.06 kB / 1.381 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002908/1.169, allocations: 247.8 kB / 1.381 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/1.169, allocations: 0 / 1.381 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.000489/1.169, allocations: 332.4 kB / 1.381 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/1.169, allocations: 217.2 kB / 1.381 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/1.17, allocations: 0.5165 MB / 1.382 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/1.17, allocations: 52 kB / 1.382 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/1.17, allocations: 377.3 kB / 1.382 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/1.17, allocations: 104.6 kB / 1.382 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/1.17, allocations: 0 / 1.382 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.17, allocations: 383.9 kB / 1.383 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/1.171, allocations: 133 kB / 1.383 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/1.171, allocations: 349 kB / 1.383 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/1.171, allocations: 150.7 kB / 1.383 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.171, allocations: 0 / 1.383 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005816/1.172, allocations: 490 kB / 1.384 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.172, allocations: 7.688 kB / 1.384 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/1.172, allocations: 7.656 kB / 1.384 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/1.172, allocations: 7.719 kB / 1.384 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/1.172, allocations: 89.23 kB / 1.384 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/1.172, allocations: 15.47 kB / 1.384 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/1.172, allocations: 54.72 kB / 1.384 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/1.172, allocations: 33.45 kB / 1.384 GB, free: 26.82 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.0001418/1.173, allocations: 151 kB / 1.384 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004024/1.173, allocations: 328.2 kB / 1.385 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/1.173, allocations: 62.03 kB / 1.385 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/1.174, allocations: 378.3 kB / 1.385 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.174, allocations: 3.938 kB / 1.385 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.174, allocations: 3.969 kB / 1.385 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.174, allocations: 8.141 kB / 1.385 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/1.175, allocations: 0.923 MB / 1.386 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.175, allocations: 3.938 kB / 1.386 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/1.175, allocations: 38.84 kB / 1.386 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.175, allocations: 3.844 kB / 1.386 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/1.175, allocations: 7.797 kB / 1.386 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.175, allocations: 7.969 kB / 1.386 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.175, allocations: 3.938 kB / 1.386 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/1.175, allocations: 0.5381 MB / 1.386 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/1.175, allocations: 147.2 kB / 1.387 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/1.176, allocations: 7.375 kB / 1.387 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/1.176, allocations: 27.31 kB / 1.387 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.176, allocations: 69.36 kB / 1.387 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/1.176, allocations: 15.64 kB / 1.387 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003314/1.176, allocations: 376.6 kB / 1.387 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.176, allocations: 0 / 1.387 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004516/1.177, allocations: 107.8 kB / 1.387 GB, free: 25.3 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.00172/1.179, allocations: 1.749 MB / 1.389 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005075/1.179, allocations: 374.6 kB / 1.389 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.179, allocations: 0 / 1.389 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/1.179, allocations: 191.5 kB / 1.389 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/1.18, allocations: 73.38 kB / 1.39 GB, free: 23.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/1.181, allocations: 0.9716 MB / 1.39 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/1.182, allocations: 0.9658 MB / 1.391 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002114/1.182, allocations: 74.97 kB / 1.391 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/1.182, allocations: 272.2 kB / 1.392 GB, free: 22.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.182, allocations: 0 / 1.392 GB, free: 22.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/1.21, allocations: 11.84 MB / 1.403 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/1.21, allocations: 189.4 kB / 1.403 GB, free: 16.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.58, allocations: 0 / 1.403 GB, free: 16.55 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat does not exist to compare? outputFormat=mat