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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.181/1.181, allocations: 249.4 MB / 256.7 MB, free: 6.945 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.001053/0.001053, allocations: 184.5 kB / 316 MB, free: 3.488 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.029/1.029, allocations: 205.2 MB / 0.5667 GB, free: 15.6 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.0008791/0.0008791, allocations: 101.8 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.101e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3856/0.5137, allocations: 137.3 MB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.514, allocations: 88.8 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02571/0.5397, allocations: 10.63 MB / 1.029 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.133e-05/0.5397, allocations: 12 kB / 1.029 GB, free: 8.367 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.000586/0.5403, allocations: 0.5865 MB / 1.03 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.5404, allocations: 8.031 kB / 1.03 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.712e-05/0.5404, allocations: 43.44 kB / 1.03 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.5409, allocations: 359.7 kB / 1.03 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.541, allocations: 7.5 kB / 1.03 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.541, allocations: 8 kB / 1.03 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001229/0.5411, allocations: 53.11 kB / 1.03 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.5412, allocations: 79.91 kB / 1.03 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5413, allocations: 0 / 1.03 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.5413, allocations: 0 / 1.03 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5413, allocations: 4 kB / 1.03 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.5419, allocations: 488.1 kB / 1.031 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.542, allocations: 82.16 kB / 1.031 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.5421, allocations: 30.17 kB / 1.031 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.5421, allocations: 0 / 1.031 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.5422, allocations: 88.36 kB / 1.031 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.5422, allocations: 0 / 1.031 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002093/0.5424, allocations: 125.6 kB / 1.031 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.5425, allocations: 55.41 kB / 1.031 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.5429, allocations: 452.8 kB / 1.031 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.543, allocations: 25.7 kB / 1.031 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.543, allocations: 145.6 kB / 1.032 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.5431, allocations: 26.61 kB / 1.032 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.5431, allocations: 0 / 1.032 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5432, allocations: 359.3 kB / 1.032 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.5433, allocations: 59.45 kB / 1.032 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.5434, allocations: 92.98 kB / 1.032 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.5435, allocations: 56.92 kB / 1.032 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5435, allocations: 0 / 1.032 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002825/0.5438, allocations: 225.9 kB / 1.032 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.5438, allocations: 8 kB / 1.032 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.5438, allocations: 0 / 1.032 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.5439, allocations: 3.906 kB / 1.032 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.544, allocations: 31.92 kB / 1.032 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.544, allocations: 3.984 kB / 1.032 GB, free: 5.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.5442, allocations: 12 kB / 1.032 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.5442, allocations: 11.53 kB / 1.032 GB, free: 5.156 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 6.801e-05/0.5443, allocations: 112.9 kB / 1.033 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.5443, allocations: 43.44 kB / 1.033 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.5445, allocations: 133.2 kB / 1.033 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5445, allocations: 4 kB / 1.033 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5446, allocations: 0 / 1.033 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5446, allocations: 0 / 1.033 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.5448, allocations: 300.7 kB / 1.033 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5448, allocations: 4 kB / 1.033 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.5449, allocations: 8 kB / 1.033 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5449, allocations: 0 / 1.033 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.5449, allocations: 7.359 kB / 1.033 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5449, allocations: 3.938 kB / 1.033 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5449, allocations: 4 kB / 1.033 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002392/0.5451, allocations: 190.3 kB / 1.033 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.5452, allocations: 120.6 kB / 1.033 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.5453, allocations: 16 kB / 1.033 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.5454, allocations: 4 kB / 1.033 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.5454, allocations: 12.16 kB / 1.033 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.5455, allocations: 7 kB / 1.033 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002811/0.5457, allocations: 337.3 kB / 1.034 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002405/0.546, allocations: 55.61 kB / 1.034 GB, free: 3.918 MB / 0.6511 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.0005713/0.5466, allocations: 335.8 kB / 1.034 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.5468, allocations: 108.9 kB / 1.034 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.5468, allocations: 0 / 1.034 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.852e-05/0.5468, allocations: 46.94 kB / 1.034 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.5471, allocations: 54.33 kB / 1.034 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.5478, allocations: 482.7 kB / 1.035 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.5483, allocations: 0.8504 MB / 1.036 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.5483, allocations: 0 / 1.036 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of Templates: time 0.005845/0.5541, allocations: 2.691 MB / 1.038 GB, free: 15.55 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