Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",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.412/2.412, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001483/0.001483, allocations: 179.5 kB / 0.4901 GB, free: 2.223 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.781/1.781, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0008882/0.0008882, allocations: 100.2 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.000351, allocations: 7.094 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2839, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2643/0.5483, allocations: 158 MB / 1.384 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004143/0.5488, allocations: 99.94 kB / 1.384 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07118/0.62, allocations: 17.6 MB / 1.401 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.915e-06/0.6201, allocations: 4 kB / 1.401 GB, free: 9.664 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001232/0.6202, allocations: 16 kB / 1.401 GB, free: 9.648 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002772/0.623, allocations: 1.041 MB / 1.402 GB, free: 8.539 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.6231, allocations: 8.562 kB / 1.402 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002096/0.6233, allocations: 86.52 kB / 1.402 GB, free: 8.438 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/0.6236, allocations: 90.88 kB / 1.402 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.6247, allocations: 0.5042 MB / 1.403 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.6248, allocations: 70.7 kB / 1.403 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-05/0.6249, allocations: 55.95 kB / 1.403 GB, free: 7.672 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009739/0.6259, allocations: 0.5463 MB / 1.403 GB, free: 7.074 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.6259, allocations: 0 / 1.403 GB, free: 7.074 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.626, allocations: 24 kB / 1.403 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.626, allocations: 12 kB / 1.403 GB, free: 7.039 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007044/0.6268, allocations: 351.6 kB / 1.404 GB, free: 6.699 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.6296, allocations: 1.937 MB / 1.405 GB, free: 4.672 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006468/0.6302, allocations: 353 kB / 1.406 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.6303, allocations: 8.047 kB / 1.406 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000438/0.6307, allocations: 262.5 kB / 1.406 GB, free: 4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=44): time 2.564e-06/0.6307, allocations: 4 kB / 1.406 GB, free: 3.996 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.001046/0.6318, allocations: 0.4976 MB / 1.407 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.6319, allocations: 195.9 kB / 1.407 GB, free: 3.258 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000964/0.6329, allocations: 0.6789 MB / 1.407 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.633, allocations: 45.7 kB / 1.407 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.6333, allocations: 373.3 kB / 1.408 GB, free: 2.152 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.6334, allocations: 106.7 kB / 1.408 GB, free: 2.047 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.6335, allocations: 16 kB / 1.408 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6336, allocations: 322 kB / 1.408 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.6339, allocations: 141.2 kB / 1.408 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.6344, allocations: 322.5 kB / 1.409 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.6347, allocations: 152.7 kB / 1.409 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6347, allocations: 3.938 kB / 1.409 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009148/0.6356, allocations: 0.5109 MB / 1.409 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6357, allocations: 8 kB / 1.409 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6357, allocations: 4 kB / 1.409 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/0.6357, allocations: 11.98 kB / 1.409 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.636, allocations: 67.84 kB / 1.409 GB, free: 436 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.636, allocations: 8 kB / 1.409 GB, free: 428 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.6364, allocations: 63.73 kB / 1.409 GB, free: 364 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.6365, allocations: 28 kB / 1.409 GB, free: 336 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,$PRE.transition4.t_start,transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0004003/0.6369, allocations: 289.5 kB / 1.41 GB, free: 44 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.637, allocations: 71.23 kB / 1.41 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007858/0.6378, allocations: 431.6 kB / 1.41 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.6378, allocations: 12 kB / 1.41 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.6378, allocations: 3.984 kB / 1.41 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6378, allocations: 0 / 1.41 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.6396, allocations: 1.115 MB / 1.411 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.6396, allocations: 4 kB / 1.411 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.6398, allocations: 35.92 kB / 1.411 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.6398, allocations: 4 kB / 1.411 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.6398, allocations: 15.94 kB / 1.411 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.6398, allocations: 11.94 kB / 1.411 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6398, allocations: 0 / 1.411 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007882/0.6406, allocations: 0.57 MB / 1.412 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.6409, allocations: 160.1 kB / 1.412 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.641, allocations: 15.98 kB / 1.412 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.6412, allocations: 19.98 kB / 1.412 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.6413, allocations: 60.3 kB / 1.412 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.6414, allocations: 16 kB / 1.412 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006137/0.642, allocations: 0.5029 MB / 1.413 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/0.642, allocations: 0 / 1.413 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006122/0.6426, allocations: 139.8 kB / 1.413 GB, free: 12.73 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 39 (transition4.t_start,transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.newActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.00224/0.6449, allocations: 1.709 MB / 1.415 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007671/0.6457, allocations: 397.7 kB / 1.415 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6457, allocations: 4.188 kB / 1.415 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.646, allocations: 198.4 kB / 1.415 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.6466, allocations: 113.6 kB / 1.415 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007086/0.6537, allocations: 6.687 MB / 1.422 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.6543, allocations: 0.9771 MB / 1.423 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003239/0.6547, allocations: 92.84 kB / 1.423 GB, free: 2.457 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/0.655, allocations: 275.3 kB / 1.423 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of SimCode: time 6.973e-06/0.655, allocations: 0 / 1.423 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6187/1.274, allocations: 14.15 MB / 1.437 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/1.274, allocations: 218.1 kB / 1.437 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/3.907, allocations: 0 / 1.437 GB, free: 181.4 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat does not exist to compare? outputFormat=mat