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.566/2.566, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001113/0.001113, allocations: 181.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009209/0.000921, allocations: 107.8 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.823e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2342, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8866/1.121, allocations: 159.3 MB / 1.374 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.121, allocations: 90.44 kB / 1.374 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04177/1.163, allocations: 15.58 MB / 1.39 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.352e-06/1.163, allocations: 0 / 1.39 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.01e-05/1.163, allocations: 23.94 kB / 1.39 GB, free: 13.38 MB / 0.8542 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.001537/1.165, allocations: 0.9061 MB / 1.391 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.165, allocations: 12.03 kB / 1.391 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/1.165, allocations: 94.14 kB / 1.391 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/1.165, allocations: 98.86 kB / 1.391 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008007/1.166, allocations: 458.6 kB / 1.391 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/1.166, allocations: 83.19 kB / 1.391 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/1.166, allocations: 65.39 kB / 1.391 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009865/1.167, allocations: 0.6467 MB / 1.392 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.167, allocations: 4 kB / 1.392 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/1.167, allocations: 25.75 kB / 1.392 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/1.167, allocations: 16 kB / 1.392 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/1.168, allocations: 402.6 kB / 1.392 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/1.171, allocations: 2.698 MB / 1.395 GB, free: 8.477 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/1.171, allocations: 363.3 kB / 1.395 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/1.172, allocations: 180.3 kB / 1.396 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/1.172, allocations: 4 kB / 1.396 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003974/1.172, allocations: 271.8 kB / 1.396 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=43): time 2.515e-06/1.172, allocations: 0 / 1.396 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43): time 0.0007093/1.173, allocations: 359.7 kB / 1.396 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.173, allocations: 225.7 kB / 1.396 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007411/1.174, allocations: 0.5753 MB / 1.397 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/1.174, allocations: 54.94 kB / 1.397 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/1.174, allocations: 370.5 kB / 1.397 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.987e-05/1.174, allocations: 114.4 kB / 1.397 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/1.174, allocations: 14 kB / 1.397 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.174, allocations: 376.1 kB / 1.398 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/1.175, allocations: 147 kB / 1.398 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/1.175, allocations: 369.3 kB / 1.398 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/1.175, allocations: 155.8 kB / 1.398 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/1.175, allocations: 4 kB / 1.398 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008441/1.176, allocations: 0.5499 MB / 1.399 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.176, allocations: 8 kB / 1.399 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.176, allocations: 4 kB / 1.399 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/1.176, allocations: 12 kB / 1.399 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/1.177, allocations: 87.19 kB / 1.399 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.57e-05/1.177, allocations: 20 kB / 1.399 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/1.177, allocations: 81.73 kB / 1.399 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/1.177, allocations: 31.5 kB / 1.399 GB, free: 4.766 MB / 0.8542 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.000211/1.177, allocations: 173.5 kB / 1.399 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/1.178, allocations: 63.25 kB / 1.399 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007162/1.178, allocations: 402.2 kB / 1.4 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.178, allocations: 4 kB / 1.4 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.178, allocations: 7.938 kB / 1.4 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/1.178, allocations: 3.984 kB / 1.4 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/1.18, allocations: 1.018 MB / 1.401 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.18, allocations: 0 / 1.401 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/1.18, allocations: 43.47 kB / 1.401 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/1.18, allocations: 4 kB / 1.401 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/1.18, allocations: 14.98 kB / 1.401 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/1.18, allocations: 7.953 kB / 1.401 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.18, allocations: 0 / 1.401 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/1.181, allocations: 0.5677 MB / 1.401 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/1.181, allocations: 147.6 kB / 1.402 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/1.181, allocations: 21.67 kB / 1.402 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/1.181, allocations: 27.42 kB / 1.402 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.181, allocations: 67.03 kB / 1.402 GB, free: 2.547 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/1.181, allocations: 15.19 kB / 1.402 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004695/1.182, allocations: 432.4 kB / 1.402 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.11e-07/1.182, allocations: 4 kB / 1.402 GB, free: 2.199 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005598/1.183, allocations: 128.9 kB / 1.402 GB, free: 2.09 MB / 0.8542 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.002003/1.185, allocations: 1.79 MB / 1.404 GB, free: 476 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006669/1.185, allocations: 410.8 kB / 1.404 GB, free: 172 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.185, allocations: 4 kB / 1.404 GB, free: 168 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/1.186, allocations: 186.3 kB / 1.405 GB, free: 36 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/1.186, allocations: 93.3 kB / 1.405 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/1.188, allocations: 1.01 MB / 1.406 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/1.189, allocations: 0.9671 MB / 1.407 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003044/1.189, allocations: 80.66 kB / 1.407 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/1.19, allocations: 279.1 kB / 1.407 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of SimCode: time 7.72e-07/1.19, allocations: 0 / 1.407 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/1.22, allocations: 12.99 MB / 1.42 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/1.221, allocations: 206.7 kB / 1.42 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.529, allocations: 0 / 1.42 GB, free: 0.9023 MB / 0.8698 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