Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.WarmUpTimeDelay,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.38/2.38, allocations: 390.5 MB / 398 MB, free: 10.97 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.001013/0.001013, allocations: 185.7 kB / 491.2 MB, free: 1.539 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.606/1.606, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009291/0.0009293, allocations: 99.88 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.906e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2982, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9862/1.284, allocations: 158.4 MB / 1.367 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/1.285, allocations: 90.92 kB / 1.367 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03407/1.319, allocations: 14.41 MB / 1.381 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.914e-06/1.319, allocations: 4 kB / 1.381 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.64e-05/1.319, allocations: 19.28 kB / 1.381 GB, free: 30.91 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001542/1.321, allocations: 0.8462 MB / 1.382 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.321, allocations: 11.59 kB / 1.382 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/1.321, allocations: 85.34 kB / 1.382 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008062/1.322, allocations: 444.8 kB / 1.383 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/1.322, allocations: 60.28 kB / 1.383 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.1e-05/1.322, allocations: 41.34 kB / 1.383 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005414/1.322, allocations: 317.5 kB / 1.383 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007219/1.323, allocations: 0.5341 MB / 1.384 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.323, allocations: 0 / 1.384 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/1.323, allocations: 7.75 kB / 1.384 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/1.323, allocations: 11.56 kB / 1.384 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/1.326, allocations: 2.568 MB / 1.386 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/1.326, allocations: 334.2 kB / 1.386 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/1.326, allocations: 165.1 kB / 1.387 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/1.327, allocations: 3.969 kB / 1.387 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/1.327, allocations: 261.1 kB / 1.387 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/1.327, allocations: 0 / 1.387 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0006032/1.327, allocations: 364.3 kB / 1.387 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/1.328, allocations: 216.6 kB / 1.387 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006432/1.328, allocations: 0.5188 MB / 1.388 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/1.328, allocations: 36.55 kB / 1.388 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/1.329, allocations: 356.6 kB / 1.388 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.879e-05/1.329, allocations: 99.86 kB / 1.388 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/1.329, allocations: 4.156 kB / 1.388 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.329, allocations: 372.3 kB / 1.389 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/1.329, allocations: 122 kB / 1.389 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/1.329, allocations: 319 kB / 1.389 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/1.33, allocations: 143.1 kB / 1.389 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.33, allocations: 0 / 1.389 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0006512/1.33, allocations: 466.9 kB / 1.39 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.33, allocations: 11.64 kB / 1.39 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.33, allocations: 7.625 kB / 1.39 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/1.33, allocations: 15.7 kB / 1.39 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/1.331, allocations: 73.44 kB / 1.39 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/1.331, allocations: 15.62 kB / 1.39 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/1.331, allocations: 27.2 kB / 1.39 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/1.331, allocations: 26.47 kB / 1.39 GB, free: 25.5 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: 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 () * 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.0001831/1.331, allocations: 158.4 kB / 1.39 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004789/1.332, allocations: 359.7 kB / 1.39 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/1.332, allocations: 65.83 kB / 1.39 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006373/1.332, allocations: 380 kB / 1.391 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/1.332, allocations: 3.688 kB / 1.391 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.332, allocations: 3.812 kB / 1.391 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.332, allocations: 160 / 1.391 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/1.334, allocations: 0.9812 MB / 1.392 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.334, allocations: 0 / 1.392 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/1.334, allocations: 27.11 kB / 1.392 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.334, allocations: 3.844 kB / 1.392 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/1.334, allocations: 14.58 kB / 1.392 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/1.334, allocations: 3.844 kB / 1.392 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.334, allocations: 0 / 1.392 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/1.335, allocations: 0.5687 MB / 1.392 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/1.335, allocations: 138.9 kB / 1.392 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/1.335, allocations: 7.531 kB / 1.392 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/1.335, allocations: 11.67 kB / 1.392 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.335, allocations: 55.92 kB / 1.393 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/1.335, allocations: 22.92 kB / 1.393 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003656/1.336, allocations: 365.2 kB / 1.393 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.11e-07/1.336, allocations: 0 / 1.393 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005892/1.336, allocations: 107.6 kB / 1.393 GB, free: 23.95 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: 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) * 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.002/1.338, allocations: 1.766 MB / 1.395 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006031/1.339, allocations: 357.5 kB / 1.395 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.339, allocations: 1.562 kB / 1.395 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/1.339, allocations: 187.8 kB / 1.395 GB, free: 22.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/1.34, allocations: 79.25 kB / 1.395 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/1.342, allocations: 0.9443 MB / 1.396 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/1.342, allocations: 0.9464 MB / 1.397 GB, free: 21.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002565/1.342, allocations: 82.61 kB / 1.397 GB, free: 21.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/1.343, allocations: 242.9 kB / 1.397 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.343, allocations: 0 / 1.397 GB, free: 21.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/1.379, allocations: 11.37 MB / 1.409 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/1.38, allocations: 181.6 kB / 1.409 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/3.622, allocations: 3.938 kB / 1.409 GB, free: 13.36 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat does not exist to compare? outputFormat=mat