Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",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.475/2.475, allocations: 393.5 MB / 408.4 MB, free: 10.92 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.001329/0.001329, allocations: 172 kB / 0.4901 GB, free: 2.152 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.593/1.593, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.0009885/0.0009886, allocations: 96.25 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 15.05 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3464, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/0.5625, allocations: 156.2 MB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/0.5629, allocations: 91.94 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.033/0.596, allocations: 11.77 MB / 1.393 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.335e-06/0.596, allocations: 0 / 1.393 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.474e-05/0.5961, allocations: 4 kB / 1.393 GB, free: 1.129 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001936/0.5981, allocations: 0.6997 MB / 1.394 GB, free: 388 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 8.136e-05/0.5982, allocations: 12.5 kB / 1.394 GB, free: 376 kB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.5983, allocations: 42.55 kB / 1.394 GB, free: 324 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.5985, allocations: 43.44 kB / 1.394 GB, free: 280 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.5996, allocations: 367.2 kB / 1.395 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.5997, allocations: 12 kB / 1.395 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.5998, allocations: 15.98 kB / 1.395 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.6, allocations: 93.58 kB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.6001, allocations: 0 / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.6001, allocations: 0 / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.6001, allocations: 11.94 kB / 1.395 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.6003, allocations: 55.97 kB / 1.395 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.6017, allocations: 0.5121 MB / 1.395 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.602, allocations: 90.52 kB / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.602, allocations: 144 / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.6023, allocations: 103.2 kB / 1.395 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 2.365e-06/0.6023, allocations: 0 / 1.395 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.0005131/0.6028, allocations: 165 kB / 1.396 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.6029, allocations: 59.41 kB / 1.396 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008362/0.6037, allocations: 490.1 kB / 1.396 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.6038, allocations: 33.7 kB / 1.396 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.604, allocations: 220 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.6041, allocations: 39.69 kB / 1.396 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.6041, allocations: 0 / 1.396 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.6043, allocations: 362.8 kB / 1.397 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.6045, allocations: 64.34 kB / 1.397 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.6047, allocations: 93.3 kB / 1.397 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.6049, allocations: 68.86 kB / 1.397 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6049, allocations: 7.953 kB / 1.397 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004987/0.6054, allocations: 234.2 kB / 1.397 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.6054, allocations: 11.95 kB / 1.397 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6054, allocations: 0 / 1.397 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.6055, allocations: 0 / 1.397 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.6057, allocations: 43.91 kB / 1.397 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.6057, allocations: 0 / 1.397 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.6059, allocations: 12.03 kB / 1.397 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.606, allocations: 15.98 kB / 1.397 GB, free: 12.97 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0002861/0.6063, allocations: 186.4 kB / 1.397 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/0.6063, allocations: 43.44 kB / 1.397 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.6067, allocations: 161.5 kB / 1.398 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.6067, allocations: 4 kB / 1.398 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6068, allocations: 0 / 1.398 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.6068, allocations: 0 / 1.398 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.6072, allocations: 329.3 kB / 1.398 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6072, allocations: 4 kB / 1.398 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.6073, allocations: 8 kB / 1.398 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6073, allocations: 3.938 kB / 1.398 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.6073, allocations: 0 / 1.398 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.6074, allocations: 7.953 kB / 1.398 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6074, allocations: 0 / 1.398 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.6079, allocations: 216.5 kB / 1.398 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.6081, allocations: 124.6 kB / 1.398 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.6081, allocations: 4 kB / 1.398 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.6082, allocations: 11.98 kB / 1.398 GB, free: 11.78 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.6083, allocations: 15.94 kB / 1.398 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.6084, allocations: 11.94 kB / 1.398 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005399/0.6089, allocations: 370.8 kB / 1.399 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6089, allocations: 0 / 1.399 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003916/0.6093, allocations: 67.92 kB / 1.399 GB, free: 11.33 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00197/0.6113, allocations: 1.104 MB / 1.4 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.6116, allocations: 119.8 kB / 1.4 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6116, allocations: 0 / 1.4 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.6117, allocations: 43.92 kB / 1.4 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.6122, allocations: 63.19 kB / 1.4 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.614, allocations: 1.251 MB / 1.401 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.6145, allocations: 0.8337 MB / 1.402 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001329/0.6146, allocations: 37.92 kB / 1.402 GB, free: 7.93 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.6148, allocations: 123.4 kB / 1.402 GB, free: 7.812 MB / 0.9011 GB Notification: Performance of SimCode: time 2.3e-07/0.6148, allocations: 0 / 1.402 GB, free: 7.812 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.6408, allocations: 7.932 MB / 1.41 GB, free: 64 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.6411, allocations: 239.5 kB / 1.41 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.986, allocations: 0 / 1.41 GB, free: 15.81 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat does not exist to compare? outputFormat=mat