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.34/2.34, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001186/0.001186, allocations: 188.6 kB / 487.4 MB, free: 5.059 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.449/1.449, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009089/0.0009088, allocations: 95.73 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.695e-05, allocations: 7.984 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2557, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9021/1.158, allocations: 156.4 MB / 1.359 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.158, allocations: 92.42 kB / 1.359 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03933/1.198, allocations: 17.35 MB / 1.376 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/1.198, allocations: 0 / 1.376 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.696e-05/1.198, allocations: 15.56 kB / 1.376 GB, free: 31.75 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.001096/1.199, allocations: 0.9229 MB / 1.377 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/1.199, allocations: 11.81 kB / 1.377 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/1.199, allocations: 93.03 kB / 1.377 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000686/1.2, allocations: 0.4923 MB / 1.377 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/1.2, allocations: 53.58 kB / 1.377 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/1.2, allocations: 30.84 kB / 1.377 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004581/1.2, allocations: 295.9 kB / 1.378 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/1.201, allocations: 494 kB / 1.378 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.201, allocations: 0 / 1.378 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/1.201, allocations: 3.906 kB / 1.378 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/1.201, allocations: 11.38 kB / 1.378 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/1.203, allocations: 1.853 MB / 1.38 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/1.203, allocations: 315.2 kB / 1.38 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/1.203, allocations: 147.5 kB / 1.38 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/1.203, allocations: 3.875 kB / 1.38 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/1.204, allocations: 244.8 kB / 1.381 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 1.784e-06/1.204, allocations: 0 / 1.381 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.0004932/1.204, allocations: 343.2 kB / 1.381 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.449e-05/1.204, allocations: 199.3 kB / 1.381 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005742/1.205, allocations: 0.6169 MB / 1.382 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/1.205, allocations: 43.22 kB / 1.382 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/1.205, allocations: 372.5 kB / 1.382 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.758e-05/1.205, allocations: 111 kB / 1.382 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/1.205, allocations: 0 / 1.382 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.205, allocations: 331.3 kB / 1.383 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.205, allocations: 122.1 kB / 1.383 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/1.206, allocations: 288 kB / 1.383 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/1.206, allocations: 137.1 kB / 1.383 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.206, allocations: 0 / 1.383 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005364/1.206, allocations: 456.6 kB / 1.384 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.206, allocations: 7.531 kB / 1.384 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.206, allocations: 3.812 kB / 1.384 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.206, allocations: 7.75 kB / 1.384 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/1.207, allocations: 69.44 kB / 1.384 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/1.207, allocations: 11.67 kB / 1.384 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/1.207, allocations: 39.48 kB / 1.384 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/1.207, allocations: 23.19 kB / 1.384 GB, free: 27.21 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.0001334/1.207, allocations: 162.5 kB / 1.384 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004124/1.208, allocations: 349.7 kB / 1.384 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/1.208, allocations: 70.06 kB / 1.384 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/1.208, allocations: 401.8 kB / 1.385 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/1.208, allocations: 7.688 kB / 1.385 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.208, allocations: 3.938 kB / 1.385 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.208, allocations: 0 / 1.385 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.21, allocations: 1.007 MB / 1.386 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/1.21, allocations: 3.812 kB / 1.386 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/1.21, allocations: 27.27 kB / 1.386 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.21, allocations: 3.812 kB / 1.386 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/1.21, allocations: 11.64 kB / 1.386 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.21, allocations: 3.969 kB / 1.386 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.21, allocations: 3.953 kB / 1.386 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/1.21, allocations: 0.5313 MB / 1.386 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/1.21, allocations: 151.1 kB / 1.386 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/1.21, allocations: 10.89 kB / 1.386 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/1.211, allocations: 19.61 kB / 1.386 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.211, allocations: 58.17 kB / 1.386 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/1.211, allocations: 15.53 kB / 1.386 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004392/1.211, allocations: 457.4 kB / 1.387 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.211, allocations: 0 / 1.387 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005183/1.212, allocations: 127.5 kB / 1.387 GB, free: 25.7 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.001665/1.213, allocations: 1.59 MB / 1.389 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00049/1.214, allocations: 357.3 kB / 1.389 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.214, allocations: 0 / 1.389 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/1.214, allocations: 172.7 kB / 1.389 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/1.215, allocations: 112.9 kB / 1.389 GB, free: 24.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/1.216, allocations: 1.038 MB / 1.39 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/1.217, allocations: 0.9828 MB / 1.391 GB, free: 23.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002717/1.217, allocations: 90.72 kB / 1.391 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/1.218, allocations: 278.7 kB / 1.392 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.218, allocations: 3.969 kB / 1.392 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/1.25, allocations: 13 MB / 1.404 GB, free: 16.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/1.25, allocations: 173.2 kB / 1.404 GB, free: 16.58 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.584, allocations: 1.547 kB / 1.404 GB, free: 16.58 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