Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.381/1.381, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009714/0.0009715, allocations: 182.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.2 MB / 0.572 GB, free: 10.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 105.2 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.591e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5655/0.7237, allocations: 136.9 MB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.724, allocations: 97.38 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02748/0.7515, allocations: 11.09 MB / 1.036 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7515, allocations: 0 / 1.036 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.887e-05/0.7516, allocations: 11.94 kB / 1.036 GB, free: 4.32 MB / 0.6511 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.0006472/0.7522, allocations: 0.5802 MB / 1.037 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.7523, allocations: 8.031 kB / 1.037 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.7524, allocations: 47.44 kB / 1.037 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/0.7529, allocations: 360.3 kB / 1.037 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.7529, allocations: 4 kB / 1.037 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.753, allocations: 7.25 kB / 1.037 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.7532, allocations: 91.28 kB / 1.038 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.7532, allocations: 3.938 kB / 1.038 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.7532, allocations: 3.875 kB / 1.038 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.7532, allocations: 8 kB / 1.038 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.7533, allocations: 46.05 kB / 1.038 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.754, allocations: 0.518 MB / 1.038 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.7542, allocations: 91.88 kB / 1.038 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.7543, allocations: 23.98 kB / 1.038 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.7543, allocations: 4 kB / 1.038 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.7545, allocations: 89.44 kB / 1.038 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.7545, allocations: 4 kB / 1.038 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.00026/0.7548, allocations: 145.8 kB / 1.038 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.7548, allocations: 51.41 kB / 1.038 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.7553, allocations: 477.8 kB / 1.039 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.7553, allocations: 25.7 kB / 1.039 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.7554, allocations: 222.9 kB / 1.039 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.7555, allocations: 35.38 kB / 1.039 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.7555, allocations: 3.375 kB / 1.039 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7556, allocations: 355 kB / 1.04 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.7557, allocations: 64.23 kB / 1.04 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.7558, allocations: 94.11 kB / 1.04 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.7559, allocations: 66.47 kB / 1.04 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.756, allocations: 3.938 kB / 1.04 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002923/0.7563, allocations: 230.8 kB / 1.04 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.7563, allocations: 13.86 kB / 1.04 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.7563, allocations: 3.953 kB / 1.04 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.7563, allocations: 4.062 kB / 1.04 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.7565, allocations: 31.92 kB / 1.04 GB, free: 1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.7565, allocations: 0 / 1.04 GB, free: 1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.7566, allocations: 14.88 kB / 1.04 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.7566, allocations: 11.36 kB / 1.04 GB, free: 0.9805 MB / 0.6511 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 7.103e-05/0.7567, allocations: 113.8 kB / 1.04 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.7568, allocations: 43.44 kB / 1.04 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.757, allocations: 155.7 kB / 1.04 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.757, allocations: 3.953 kB / 1.04 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7571, allocations: 0 / 1.04 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.7571, allocations: 3.984 kB / 1.04 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.7573, allocations: 324 kB / 1.041 GB, free: 384 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7574, allocations: 0 / 1.041 GB, free: 384 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.7574, allocations: 11.94 kB / 1.041 GB, free: 372 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.7574, allocations: 0 / 1.041 GB, free: 372 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.7575, allocations: 6.562 kB / 1.041 GB, free: 368 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.7575, allocations: 7.922 kB / 1.041 GB, free: 360 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7575, allocations: 7.953 kB / 1.041 GB, free: 352 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.7578, allocations: 204.9 kB / 1.041 GB, free: 168 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.7579, allocations: 116.6 kB / 1.041 GB, free: 32 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.758, allocations: 7.875 kB / 1.041 GB, free: 28 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.7581, allocations: 4 kB / 1.041 GB, free: 24 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.7581, allocations: 19.92 kB / 1.041 GB, free: 4 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.7581, allocations: 3.875 kB / 1.041 GB, free: 4 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000416/0.7586, allocations: 364.5 kB / 1.041 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7586, allocations: 0 / 1.041 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003235/0.7589, allocations: 62.94 kB / 1.041 GB, free: 15.66 MB / 0.6667 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.001058/0.76, allocations: 409.3 kB / 1.042 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.7602, allocations: 111.8 kB / 1.042 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7602, allocations: 0 / 1.042 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.7603, allocations: 38 kB / 1.042 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.7607, allocations: 51.78 kB / 1.042 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000908/0.7616, allocations: 495.3 kB / 1.042 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.762, allocations: 0.8355 MB / 1.043 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.7622, allocations: 21.55 kB / 1.043 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.7622, allocations: 19.44 kB / 1.043 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of SimCode: time 2.81e-07/0.7622, allocations: 0 / 1.043 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of Templates: time 0.007608/0.7698, allocations: 3.218 MB / 1.046 GB, free: 10.68 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches