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.242/2.242, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001202/0.001202, allocations: 175 kB / 498.1 MB, free: 5.746 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.644/1.644, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0008742/0.0008742, allocations: 96.31 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 13.78 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2735, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.4555, allocations: 157.2 MB / 1.376 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.4558, allocations: 99.88 kB / 1.377 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04645/0.5022, allocations: 17.6 MB / 1.394 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5023, allocations: 0 / 1.394 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.775e-05/0.5024, allocations: 20 kB / 1.394 GB, free: 2.922 MB / 0.8855 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.002152/0.5045, allocations: 1.03 MB / 1.395 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.5046, allocations: 12.03 kB / 1.395 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.5048, allocations: 90.5 kB / 1.395 GB, free: 1.715 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.505, allocations: 90.88 kB / 1.395 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.5061, allocations: 0.5081 MB / 1.395 GB, free: 1.074 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.5062, allocations: 66.7 kB / 1.395 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/0.5063, allocations: 63.88 kB / 1.396 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.5074, allocations: 0.5424 MB / 1.396 GB, free: 360 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.5074, allocations: 3.938 kB / 1.396 GB, free: 356 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.111e-05/0.5075, allocations: 16 kB / 1.396 GB, free: 340 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.5075, allocations: 15.98 kB / 1.396 GB, free: 324 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007407/0.5082, allocations: 343.7 kB / 1.396 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.511, allocations: 1.94 MB / 1.398 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.5116, allocations: 351.3 kB / 1.399 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.5116, allocations: 12.11 kB / 1.399 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.512, allocations: 266.4 kB / 1.399 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=44): time 1.863e-06/0.512, allocations: 0 / 1.399 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.0009685/0.513, allocations: 500 kB / 1.399 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.5131, allocations: 208.2 kB / 1.4 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/0.514, allocations: 0.6712 MB / 1.4 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.5141, allocations: 49.69 kB / 1.4 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.5144, allocations: 376.8 kB / 1.401 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.5145, allocations: 106.6 kB / 1.401 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.5146, allocations: 12 kB / 1.401 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5147, allocations: 330 kB / 1.401 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.515, allocations: 133.2 kB / 1.401 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.5153, allocations: 322.6 kB / 1.402 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.5156, allocations: 140.9 kB / 1.402 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.5157, allocations: 4 kB / 1.402 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008089/0.5165, allocations: 0.5143 MB / 1.402 GB, free: 9.805 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.5165, allocations: 9.406 kB / 1.402 GB, free: 9.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.5165, allocations: 4 kB / 1.402 GB, free: 9.793 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.5166, allocations: 8.562 kB / 1.402 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.5168, allocations: 67.84 kB / 1.402 GB, free: 9.719 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.5168, allocations: 19.92 kB / 1.402 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.5172, allocations: 55.69 kB / 1.402 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.5173, allocations: 24 kB / 1.402 GB, free: 9.621 MB / 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.000366/0.5176, allocations: 282.1 kB / 1.403 GB, free: 9.34 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.5177, allocations: 71.16 kB / 1.403 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007699/0.5185, allocations: 451.4 kB / 1.403 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.5185, allocations: 8 kB / 1.403 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5186, allocations: 0 / 1.403 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.5186, allocations: 0 / 1.403 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.5202, allocations: 1.119 MB / 1.404 GB, free: 7.629 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5202, allocations: 0 / 1.404 GB, free: 7.629 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.5204, allocations: 39.91 kB / 1.404 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.5204, allocations: 4 kB / 1.404 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.5204, allocations: 11.95 kB / 1.404 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.5204, allocations: 7.938 kB / 1.404 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5204, allocations: 3.984 kB / 1.404 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.5212, allocations: 0.5739 MB / 1.405 GB, free: 6.945 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.5214, allocations: 160.1 kB / 1.405 GB, free: 6.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/0.5215, allocations: 20 kB / 1.405 GB, free: 6.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.5217, allocations: 23.92 kB / 1.405 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.5219, allocations: 52.36 kB / 1.405 GB, free: 6.676 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.5219, allocations: 19.98 kB / 1.405 GB, free: 6.656 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005909/0.5225, allocations: 0.499 MB / 1.406 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5225, allocations: 0 / 1.406 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005894/0.5231, allocations: 135.9 kB / 1.406 GB, free: 6.027 MB / 0.9011 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.002217/0.5253, allocations: 1.706 MB / 1.407 GB, free: 4.43 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007861/0.5261, allocations: 400.7 kB / 1.408 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5261, allocations: 0 / 1.408 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.5265, allocations: 195.7 kB / 1.408 GB, free: 3.848 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.5271, allocations: 114.4 kB / 1.408 GB, free: 3.738 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007367/0.5345, allocations: 6.688 MB / 1.415 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/0.5353, allocations: 0.9721 MB / 1.416 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004497/0.5357, allocations: 104.8 kB / 1.416 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/0.5363, allocations: 275.3 kB / 1.416 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of SimCode: time 1.783e-06/0.5363, allocations: 3.938 kB / 1.416 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5472/1.083, allocations: 14.14 MB / 1.43 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.084, allocations: 220 kB / 1.43 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.407, allocations: 0 / 1.43 GB, free: 188.7 MB / 0.9167 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