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.338/2.338, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001086/0.001086, allocations: 184.8 kB / 492.3 MB, free: 0.6289 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.518/1.518, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008775/0.0008776, allocations: 87.91 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.226e-05, allocations: 6.109 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2592, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9423/1.202, allocations: 155.4 MB / 1.364 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.202, allocations: 89.75 kB / 1.364 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03016/1.232, allocations: 11.74 MB / 1.376 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.694e-06/1.232, allocations: 0 / 1.376 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.163e-05/1.232, allocations: 7.75 kB / 1.376 GB, free: 33.69 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.001089/1.233, allocations: 0.6006 MB / 1.376 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.233, allocations: 11.66 kB / 1.376 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.673e-05/1.233, allocations: 38 kB / 1.376 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/1.234, allocations: 49.12 kB / 1.376 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000778/1.234, allocations: 362.3 kB / 1.377 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/1.234, allocations: 7.75 kB / 1.377 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/1.234, allocations: 18.53 kB / 1.377 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/1.235, allocations: 89.78 kB / 1.377 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/1.235, allocations: 0 / 1.377 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/1.235, allocations: 3.188 kB / 1.377 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/1.235, allocations: 3.875 kB / 1.377 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/1.235, allocations: 46.59 kB / 1.377 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/1.236, allocations: 0.5137 MB / 1.377 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/1.236, allocations: 89.7 kB / 1.378 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/1.236, allocations: 36.31 kB / 1.378 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/1.236, allocations: 4 kB / 1.378 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/1.237, allocations: 89.72 kB / 1.378 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 5.941e-06/1.237, allocations: 0 / 1.378 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003878/1.237, allocations: 147.6 kB / 1.378 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/1.237, allocations: 51.41 kB / 1.378 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/1.238, allocations: 491.6 kB / 1.378 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/1.238, allocations: 29.27 kB / 1.378 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/1.238, allocations: 227 kB / 1.379 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/1.238, allocations: 30.25 kB / 1.379 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/1.238, allocations: 3.812 kB / 1.379 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.238, allocations: 362 kB / 1.379 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/1.238, allocations: 57.19 kB / 1.379 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/1.238, allocations: 95.45 kB / 1.379 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/1.238, allocations: 68.8 kB / 1.379 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.238, allocations: 4.031 kB / 1.379 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003083/1.239, allocations: 231.8 kB / 1.379 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.239, allocations: 7.828 kB / 1.379 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.239, allocations: 96 / 1.379 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.239, allocations: 10.83 kB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/1.239, allocations: 36.48 kB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.239, allocations: 0 / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/1.239, allocations: 21.27 kB / 1.379 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/1.239, allocations: 13.97 kB / 1.379 GB, free: 31.65 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.981e-05/1.239, allocations: 113.9 kB / 1.38 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/1.239, allocations: 46.44 kB / 1.38 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/1.24, allocations: 159.5 kB / 1.38 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.24, allocations: 0 / 1.38 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.24, allocations: 0 / 1.38 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.24, allocations: 3.938 kB / 1.38 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/1.24, allocations: 324.7 kB / 1.38 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.24, allocations: 0 / 1.38 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/1.24, allocations: 13.64 kB / 1.38 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.24, allocations: 0 / 1.38 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/1.24, allocations: 6.344 kB / 1.38 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.24, allocations: 3.953 kB / 1.38 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.24, allocations: 0 / 1.38 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/1.24, allocations: 209 kB / 1.38 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/1.24, allocations: 129.7 kB / 1.38 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/1.24, allocations: 3.125 kB / 1.38 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/1.241, allocations: 14.41 kB / 1.38 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/1.241, allocations: 15.75 kB / 1.38 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/1.241, allocations: 3.875 kB / 1.38 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003668/1.241, allocations: 368.6 kB / 1.381 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.241, allocations: 0 / 1.381 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000321/1.241, allocations: 71.75 kB / 1.381 GB, free: 30.93 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.001367/1.243, allocations: 1.06 MB / 1.382 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002158/1.243, allocations: 114 kB / 1.382 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.243, allocations: 4.062 kB / 1.382 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.222e-05/1.243, allocations: 42.59 kB / 1.382 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/1.243, allocations: 58.44 kB / 1.382 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/1.244, allocations: 0.6006 MB / 1.383 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/1.245, allocations: 0.8345 MB / 1.384 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001322/1.245, allocations: 30.44 kB / 1.384 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/1.245, allocations: 128.9 kB / 1.384 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.245, allocations: 0 / 1.384 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/1.268, allocations: 8.073 MB / 1.392 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/1.268, allocations: 198.8 kB / 1.392 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.517, allocations: 0 / 1.392 GB, free: 25.07 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