Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.AssertFuelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001022/0.001023, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.448/1.448, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0008637/0.0008634, allocations: 91.91 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.838e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9896/1.248, allocations: 154.7 MB / 1.357 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.248, allocations: 89.42 kB / 1.357 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0278/1.276, allocations: 11.64 MB / 1.369 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.325e-06/1.276, allocations: 0 / 1.369 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.719e-05/1.276, allocations: 7.656 kB / 1.369 GB, free: 32.67 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007636/1.277, allocations: 0.5965 MB / 1.369 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.277, allocations: 15.28 kB / 1.369 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/1.277, allocations: 42.34 kB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/1.278, allocations: 378.5 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/1.278, allocations: 0 / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/1.278, allocations: 7.688 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001253/1.278, allocations: 49.39 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/1.278, allocations: 78.44 kB / 1.37 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.278, allocations: 0 / 1.37 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/1.278, allocations: 10.23 kB / 1.37 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.278, allocations: 3.688 kB / 1.37 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/1.279, allocations: 489.6 kB / 1.37 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/1.279, allocations: 88.5 kB / 1.37 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/1.279, allocations: 31.14 kB / 1.37 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/1.279, allocations: 0 / 1.37 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/1.279, allocations: 81.69 kB / 1.37 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/1.279, allocations: 0 / 1.37 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002329/1.279, allocations: 149.7 kB / 1.371 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/1.279, allocations: 51.41 kB / 1.371 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/1.28, allocations: 465.6 kB / 1.371 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/1.28, allocations: 33.48 kB / 1.371 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/1.28, allocations: 216.4 kB / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/1.28, allocations: 33.77 kB / 1.371 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/1.28, allocations: 0 / 1.371 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.28, allocations: 359.5 kB / 1.372 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/1.28, allocations: 60.7 kB / 1.372 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.382e-05/1.28, allocations: 91.55 kB / 1.372 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/1.281, allocations: 72.73 kB / 1.372 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.281, allocations: 0 / 1.372 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003232/1.281, allocations: 220.9 kB / 1.372 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.281, allocations: 11.05 kB / 1.372 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.281, allocations: 4.062 kB / 1.372 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.281, allocations: 0 / 1.372 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/1.281, allocations: 45.56 kB / 1.372 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/1.281, allocations: 0 / 1.372 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/1.281, allocations: 14.86 kB / 1.372 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/1.281, allocations: 10.89 kB / 1.372 GB, free: 30.72 MB / 0.8386 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 () * 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 8.932e-05/1.281, allocations: 108.8 kB / 1.372 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001538/1.282, allocations: 133.9 kB / 1.372 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/1.282, allocations: 46.66 kB / 1.372 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/1.282, allocations: 158.7 kB / 1.373 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.282, allocations: 0 / 1.373 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.282, allocations: 0 / 1.373 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.282, allocations: 0 / 1.373 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/1.282, allocations: 293.7 kB / 1.373 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/1.282, allocations: 0 / 1.373 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/1.282, allocations: 14.44 kB / 1.373 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.282, allocations: 4.156 kB / 1.373 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/1.282, allocations: 0 / 1.373 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.282, allocations: 7.047 kB / 1.373 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.282, allocations: 7.891 kB / 1.373 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/1.283, allocations: 200.9 kB / 1.373 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/1.283, allocations: 122.3 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/1.283, allocations: 2.75 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/1.283, allocations: 14.61 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/1.283, allocations: 21.86 kB / 1.373 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/1.283, allocations: 3.969 kB / 1.373 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003188/1.283, allocations: 339.4 kB / 1.374 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.283, allocations: 0 / 1.374 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002802/1.283, allocations: 64.98 kB / 1.374 GB, free: 29.98 MB / 0.8386 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) * 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.001343/1.285, allocations: 1.029 MB / 1.375 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001892/1.285, allocations: 108.5 kB / 1.375 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.285, allocations: 4.062 kB / 1.375 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.909e-05/1.285, allocations: 33.66 kB / 1.375 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/1.285, allocations: 64.19 kB / 1.375 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009712/1.286, allocations: 0.5882 MB / 1.375 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/1.287, allocations: 0.8279 MB / 1.376 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001079/1.287, allocations: 39.08 kB / 1.376 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/1.287, allocations: 126.5 kB / 1.376 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.287, allocations: 0 / 1.376 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/1.314, allocations: 7.2 MB / 1.383 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/1.315, allocations: 185.7 kB / 1.384 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.65, allocations: 3.375 kB / 1.384 GB, free: 25.72 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat does not exist to compare? outputFormat=mat