Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.0009778/0.0009775, allocations: 173 kB / 492.3 MB, free: 0.6211 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.406/1.406, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0008313/0.0008317, allocations: 96.75 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.254e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2648, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9353/1.2, allocations: 157.1 MB / 1.366 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.201, allocations: 88.19 kB / 1.366 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04078/1.241, allocations: 17.56 MB / 1.383 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/1.241, allocations: 0 / 1.383 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.681e-05/1.241, allocations: 15.12 kB / 1.383 GB, free: 31.64 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001124/1.243, allocations: 0.9227 MB / 1.384 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.243, allocations: 7.719 kB / 1.384 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.248e-05/1.243, allocations: 86.23 kB / 1.384 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/1.243, allocations: 93.16 kB / 1.384 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/1.244, allocations: 0.498 MB / 1.385 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/1.244, allocations: 77.62 kB / 1.385 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/1.244, allocations: 52.66 kB / 1.385 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/1.244, allocations: 0.5402 MB / 1.385 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.244, allocations: 3.844 kB / 1.385 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/1.245, allocations: 16.59 kB / 1.385 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/1.245, allocations: 15.53 kB / 1.385 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/1.245, allocations: 338.4 kB / 1.386 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/1.247, allocations: 1.938 MB / 1.388 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/1.247, allocations: 340.2 kB / 1.388 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/1.248, allocations: 159.4 kB / 1.388 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/1.248, allocations: 11.03 kB / 1.388 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/1.248, allocations: 251.4 kB / 1.388 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 1.723e-06/1.248, allocations: 3.844 kB / 1.388 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.0005862/1.249, allocations: 388.2 kB / 1.389 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/1.249, allocations: 199.2 kB / 1.389 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/1.249, allocations: 0.6626 MB / 1.39 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/1.249, allocations: 50.91 kB / 1.39 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/1.25, allocations: 364.2 kB / 1.39 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/1.25, allocations: 110.5 kB / 1.39 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/1.25, allocations: 13.47 kB / 1.39 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.25, allocations: 331.1 kB / 1.39 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/1.25, allocations: 133.5 kB / 1.391 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/1.25, allocations: 308.5 kB / 1.391 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/1.251, allocations: 143 kB / 1.391 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.251, allocations: 0 / 1.391 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006461/1.251, allocations: 0.5048 MB / 1.391 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/1.251, allocations: 8.719 kB / 1.391 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.251, allocations: 3.844 kB / 1.391 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.251, allocations: 7.688 kB / 1.391 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/1.252, allocations: 72.36 kB / 1.392 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/1.252, allocations: 7.688 kB / 1.392 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/1.252, allocations: 59.81 kB / 1.392 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/1.252, allocations: 30.45 kB / 1.392 GB, free: 26.97 MB / 0.8386 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 () * 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.0001372/1.252, allocations: 169.7 kB / 1.392 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/1.252, allocations: 76.56 kB / 1.392 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005982/1.253, allocations: 430.9 kB / 1.392 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.253, allocations: 3.812 kB / 1.392 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.253, allocations: 7.875 kB / 1.392 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.253, allocations: 3.984 kB / 1.392 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/1.254, allocations: 1.1 MB / 1.393 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.254, allocations: 0 / 1.393 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/1.254, allocations: 38.25 kB / 1.393 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.254, allocations: 0 / 1.393 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/1.254, allocations: 18.56 kB / 1.393 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/1.254, allocations: 11.88 kB / 1.393 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.254, allocations: 3.844 kB / 1.393 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/1.255, allocations: 0.5494 MB / 1.394 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/1.255, allocations: 162.6 kB / 1.394 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/1.255, allocations: 10.91 kB / 1.394 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/1.255, allocations: 26.36 kB / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.255, allocations: 55.27 kB / 1.394 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/1.255, allocations: 18.39 kB / 1.394 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005277/1.256, allocations: 0.4946 MB / 1.395 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.403e-06/1.256, allocations: 3.938 kB / 1.395 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005366/1.257, allocations: 144.1 kB / 1.395 GB, free: 25.51 MB / 0.8386 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) * 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.001872/1.258, allocations: 1.644 MB / 1.396 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006414/1.259, allocations: 380.8 kB / 1.397 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.259, allocations: 0 / 1.397 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/1.259, allocations: 188 kB / 1.397 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/1.26, allocations: 120.2 kB / 1.397 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/1.262, allocations: 1.088 MB / 1.398 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/1.262, allocations: 0.9728 MB / 1.399 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002816/1.263, allocations: 102.8 kB / 1.399 GB, free: 22.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/1.263, allocations: 275.3 kB / 1.399 GB, free: 22.87 MB / 0.8386 GB Notification: Performance of SimCode: time 8.12e-07/1.263, allocations: 0 / 1.399 GB, free: 22.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/1.291, allocations: 14.18 MB / 1.413 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/1.291, allocations: 197.2 kB / 1.414 GB, free: 9.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/3.692, allocations: 0 / 1.414 GB, free: 9.91 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy_res.mat does not exist to compare? outputFormat=mat