Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.WarmUpTimeDelay,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",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.21/2.21, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001183/0.001182, allocations: 173.2 kB / 498.1 MB, free: 5.758 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.632/1.632, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.001113/0.001113, allocations: 106 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004427, allocations: 11 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2673, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.4632, allocations: 158.3 MB / 1.378 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.4636, allocations: 91.95 kB / 1.378 GB, free: 3.52 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03878/0.5024, allocations: 14.65 MB / 1.392 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.487e-06/0.5024, allocations: 0 / 1.392 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.733e-05/0.5025, allocations: 12 kB / 1.392 GB, free: 4.699 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00223/0.5047, allocations: 0.9382 MB / 1.393 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.5048, allocations: 8.031 kB / 1.393 GB, free: 3.684 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002586/0.5051, allocations: 102.4 kB / 1.393 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.5053, allocations: 82.97 kB / 1.393 GB, free: 3.492 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.5064, allocations: 451.8 kB / 1.394 GB, free: 3.012 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.5065, allocations: 74.88 kB / 1.394 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.5066, allocations: 59.95 kB / 1.394 GB, free: 2.875 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.5077, allocations: 0.6177 MB / 1.394 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.5078, allocations: 3.938 kB / 1.394 GB, free: 2.191 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.5078, allocations: 24 kB / 1.394 GB, free: 2.168 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.5079, allocations: 15.94 kB / 1.394 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007082/0.5086, allocations: 379.5 kB / 1.395 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.5116, allocations: 2.663 MB / 1.397 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.5122, allocations: 380.2 kB / 1.398 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.5122, allocations: 8.219 kB / 1.398 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005094/0.5127, allocations: 288.7 kB / 1.398 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=43): time 3.547e-06/0.5128, allocations: 0 / 1.398 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43): time 0.001023/0.5138, allocations: 0.4901 MB / 1.398 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.5139, allocations: 229.3 kB / 1.399 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/0.5146, allocations: 0.5449 MB / 1.399 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.446e-05/0.5147, allocations: 53.69 kB / 1.399 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.515, allocations: 356.5 kB / 1.4 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.5151, allocations: 98.83 kB / 1.4 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.5152, allocations: 16 kB / 1.4 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5153, allocations: 374.8 kB / 1.4 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.5156, allocations: 145.2 kB / 1.4 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.516, allocations: 339.6 kB / 1.4 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.5163, allocations: 156.8 kB / 1.401 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5163, allocations: 0 / 1.401 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0008814/0.5172, allocations: 0.5416 MB / 1.401 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5172, allocations: 4 kB / 1.401 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.5173, allocations: 12.77 kB / 1.401 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.5173, allocations: 8 kB / 1.401 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.5176, allocations: 79.78 kB / 1.401 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.5176, allocations: 11.98 kB / 1.401 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.5178, allocations: 39.69 kB / 1.401 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.5179, allocations: 32 kB / 1.401 GB, free: 10.59 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,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.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003409/0.5183, allocations: 277.4 kB / 1.402 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/0.5184, allocations: 71.11 kB / 1.402 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006943/0.5191, allocations: 415.2 kB / 1.402 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5191, allocations: 4 kB / 1.402 GB, free: 9.824 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5191, allocations: 4 kB / 1.402 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.5191, allocations: 0 / 1.402 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.5207, allocations: 1.099 MB / 1.403 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5207, allocations: 4 kB / 1.403 GB, free: 8.652 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.5208, allocations: 31.91 kB / 1.403 GB, free: 8.621 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.5208, allocations: 4 kB / 1.403 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.5209, allocations: 8 kB / 1.403 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5209, allocations: 4 kB / 1.403 GB, free: 8.605 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.5209, allocations: 3.984 kB / 1.403 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007316/0.5216, allocations: 0.596 MB / 1.404 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.5218, allocations: 148.2 kB / 1.404 GB, free: 7.777 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.5219, allocations: 11.98 kB / 1.404 GB, free: 7.766 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.5221, allocations: 19.98 kB / 1.404 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.5222, allocations: 51.92 kB / 1.404 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.5223, allocations: 19.98 kB / 1.404 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004659/0.5227, allocations: 410.8 kB / 1.404 GB, free: 7.277 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5228, allocations: 0 / 1.404 GB, free: 7.277 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005836/0.5233, allocations: 120 kB / 1.404 GB, free: 7.16 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 41 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,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.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * 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.002153/0.5255, allocations: 1.86 MB / 1.406 GB, free: 5.398 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007326/0.5263, allocations: 413.8 kB / 1.407 GB, free: 4.992 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5263, allocations: 4 kB / 1.407 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.5266, allocations: 208 kB / 1.407 GB, free: 4.785 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.5271, allocations: 81.12 kB / 1.407 GB, free: 4.707 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006682/0.5338, allocations: 7.289 MB / 1.414 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.5344, allocations: 0.9446 MB / 1.415 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.5347, allocations: 84.33 kB / 1.415 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.535, allocations: 239.4 kB / 1.415 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of SimCode: time 1.693e-06/0.5351, allocations: 0 / 1.415 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5253/1.06, allocations: 12.14 MB / 1.427 GB, free: 191.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/1.061, allocations: 221.7 kB / 1.427 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/3.44, allocations: 0 / 1.427 GB, free: 191.4 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat does not exist to compare? outputFormat=mat