Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.415/2.415, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001269/0.001269, allocations: 187.9 kB / 0.4901 GB, free: 2.211 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.696/1.696, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009138/0.0009137, allocations: 105 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 14.41 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3345, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.5393, allocations: 159.3 MB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.5397, allocations: 99.88 kB / 1.385 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04125/0.581, allocations: 15.61 MB / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.725e-06/0.581, allocations: 0 / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.114e-05/0.5811, allocations: 23.94 kB / 1.4 GB, free: 10.21 MB / 0.9011 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.001817/0.5829, allocations: 1.006 MB / 1.401 GB, free: 9.141 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.583, allocations: 8.562 kB / 1.401 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.5831, allocations: 102.5 kB / 1.401 GB, free: 9.023 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.5833, allocations: 90.97 kB / 1.401 GB, free: 8.934 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/0.5842, allocations: 460 kB / 1.402 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.5843, allocations: 83.02 kB / 1.402 GB, free: 8.355 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.938e-05/0.5844, allocations: 67.95 kB / 1.402 GB, free: 8.289 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.5855, allocations: 0.6754 MB / 1.403 GB, free: 7.551 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.5855, allocations: 4 kB / 1.403 GB, free: 7.547 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.5856, allocations: 20 kB / 1.403 GB, free: 7.527 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.5856, allocations: 23.98 kB / 1.403 GB, free: 7.504 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.5864, allocations: 447.5 kB / 1.403 GB, free: 7.066 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.5896, allocations: 2.694 MB / 1.406 GB, free: 4.258 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/0.5903, allocations: 397.1 kB / 1.406 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.5903, allocations: 12 kB / 1.406 GB, free: 3.801 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004886/0.5908, allocations: 280.9 kB / 1.406 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=43): time 3.065e-06/0.5909, allocations: 0 / 1.406 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43): time 0.001199/0.5921, allocations: 0.5201 MB / 1.407 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.5922, allocations: 229.5 kB / 1.407 GB, free: 2.691 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007842/0.593, allocations: 0.5849 MB / 1.408 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.5931, allocations: 49.7 kB / 1.408 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.5934, allocations: 376.8 kB / 1.408 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.5935, allocations: 110.7 kB / 1.408 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.5936, allocations: 8 kB / 1.408 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.5938, allocations: 386.8 kB / 1.409 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.5941, allocations: 165.9 kB / 1.409 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.5946, allocations: 392.5 kB / 1.409 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.595, allocations: 179.8 kB / 1.409 GB, free: 364 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.595, allocations: 0 / 1.409 GB, free: 364 kB / 0.9011 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001108/0.5961, allocations: 0.5981 MB / 1.41 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.5962, allocations: 8 kB / 1.41 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5962, allocations: 4 kB / 1.41 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.5962, allocations: 12 kB / 1.41 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.5965, allocations: 80.17 kB / 1.41 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.5966, allocations: 19.92 kB / 1.41 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.5969, allocations: 79.52 kB / 1.41 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.597, allocations: 28.05 kB / 1.41 GB, free: 15.52 MB / 0.9167 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 () * Number of clocked 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.0003868/0.5974, allocations: 282.3 kB / 1.41 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.174e-05/0.5975, allocations: 67.23 kB / 1.41 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008191/0.5983, allocations: 427.9 kB / 1.411 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.5983, allocations: 4 kB / 1.411 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5984, allocations: 4 kB / 1.411 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.5984, allocations: 3.984 kB / 1.411 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.6, allocations: 1.08 MB / 1.412 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6, allocations: 0 / 1.412 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.6002, allocations: 43.84 kB / 1.412 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.6002, allocations: 7.938 kB / 1.412 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.6003, allocations: 12 kB / 1.412 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.6003, allocations: 7.938 kB / 1.412 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.6003, allocations: 11.92 kB / 1.412 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.6011, allocations: 0.6076 MB / 1.413 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.6013, allocations: 144.2 kB / 1.413 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.6014, allocations: 16 kB / 1.413 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.6016, allocations: 39.97 kB / 1.413 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.6018, allocations: 63.86 kB / 1.413 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.6018, allocations: 19.98 kB / 1.413 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004896/0.6023, allocations: 427 kB / 1.413 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6023, allocations: 0 / 1.413 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006254/0.603, allocations: 132 kB / 1.413 GB, free: 12 MB / 0.9167 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) * Number of clocked states: 0 () * 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.002401/0.6054, allocations: 1.864 MB / 1.415 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009308/0.6063, allocations: 464.5 kB / 1.416 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6063, allocations: 0 / 1.416 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.6067, allocations: 211.7 kB / 1.416 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.6072, allocations: 96.72 kB / 1.416 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006827/0.6141, allocations: 7.716 MB / 1.423 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.6147, allocations: 0.9613 MB / 1.424 GB, free: 0.5938 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003209/0.615, allocations: 76.52 kB / 1.424 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.6154, allocations: 279.3 kB / 1.425 GB, free: 248 kB / 0.9167 GB Notification: Performance of SimCode: time 1.393e-06/0.6154, allocations: 0 / 1.425 GB, free: 248 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6186/1.234, allocations: 12.87 MB / 1.437 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/1.234, allocations: 240.1 kB / 1.438 GB, free: 181.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/3.755, allocations: 1.094 kB / 1.438 GB, free: 181.3 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat does not exist to compare? outputFormat=mat