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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.904/1.904, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001125/0.001125, allocations: 177.3 kB / 487 MB, free: 5.359 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.299/1.299, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0009138/0.0009138, allocations: 98.05 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.003e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2219, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6424/0.8643, allocations: 154.6 MB / 1.356 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.8646, allocations: 86.58 kB / 1.356 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02649/0.8911, allocations: 11.3 MB / 1.367 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.8911, allocations: 14.59 kB / 1.367 GB, free: 10.07 MB / 0.8073 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.0005273/0.8917, allocations: 0.5878 MB / 1.368 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.8917, allocations: 8.031 kB / 1.368 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.8918, allocations: 51.34 kB / 1.368 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.8923, allocations: 373.7 kB / 1.368 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.8923, allocations: 4 kB / 1.368 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.8923, allocations: 4 kB / 1.368 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001071/0.8925, allocations: 48.73 kB / 1.368 GB, free: 9 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.8926, allocations: 84.66 kB / 1.368 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.8926, allocations: 0 / 1.368 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.8926, allocations: 0 / 1.368 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.8926, allocations: 0 / 1.368 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.8932, allocations: 491.4 kB / 1.369 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.8933, allocations: 82.09 kB / 1.369 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.8933, allocations: 32.23 kB / 1.369 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.8934, allocations: 7.75 kB / 1.369 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.45e-05/0.8935, allocations: 74.45 kB / 1.369 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.8935, allocations: 0 / 1.369 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001974/0.8937, allocations: 131.3 kB / 1.369 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.385e-05/0.8937, allocations: 55.41 kB / 1.369 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.8941, allocations: 462.8 kB / 1.37 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.8941, allocations: 29.7 kB / 1.37 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.8942, allocations: 137.6 kB / 1.37 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.8942, allocations: 37.08 kB / 1.37 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.669e-06/0.8942, allocations: 4 kB / 1.37 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.8943, allocations: 356.4 kB / 1.37 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.8944, allocations: 56.48 kB / 1.37 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-05/0.8945, allocations: 91.8 kB / 1.37 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.8947, allocations: 79.12 kB / 1.371 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.8947, allocations: 0 / 1.371 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003371/0.895, allocations: 233.9 kB / 1.371 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.895, allocations: 11.84 kB / 1.371 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.895, allocations: 0 / 1.371 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.8951, allocations: 7.984 kB / 1.371 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.8952, allocations: 35.92 kB / 1.371 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.8953, allocations: 4.031 kB / 1.371 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.8954, allocations: 15.92 kB / 1.371 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.8954, allocations: 11.56 kB / 1.371 GB, free: 6.809 MB / 0.8073 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 5.288e-05/0.8955, allocations: 112.8 kB / 1.371 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.8955, allocations: 51.42 kB / 1.371 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.8957, allocations: 140.9 kB / 1.371 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8958, allocations: 3.938 kB / 1.371 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.8958, allocations: 0 / 1.371 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.8958, allocations: 0 / 1.371 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.896, allocations: 290.8 kB / 1.371 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.896, allocations: 0 / 1.371 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/0.896, allocations: 11.98 kB / 1.371 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.896, allocations: 4 kB / 1.371 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.8961, allocations: 3.5 kB / 1.371 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8961, allocations: 0 / 1.371 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8961, allocations: 0 / 1.371 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000213/0.8963, allocations: 205.1 kB / 1.372 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.8964, allocations: 116.5 kB / 1.372 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.8964, allocations: 2.938 kB / 1.372 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.8965, allocations: 11.98 kB / 1.372 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.8966, allocations: 7.984 kB / 1.372 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.8966, allocations: 10.92 kB / 1.372 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002518/0.8968, allocations: 349.2 kB / 1.372 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002605/0.8971, allocations: 67.27 kB / 1.372 GB, free: 5.562 MB / 0.8073 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.0005734/0.8977, allocations: 358.4 kB / 1.372 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.8979, allocations: 107.9 kB / 1.373 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.8979, allocations: 0 / 1.373 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.595e-05/0.8979, allocations: 38.73 kB / 1.373 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.8983, allocations: 60 kB / 1.373 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.8989, allocations: 496.4 kB / 1.373 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.8993, allocations: 0.8597 MB / 1.374 GB, free: 19.82 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.8993, allocations: 0 / 1.374 GB, free: 19.82 MB / 0.823 GB Notification: Performance of Templates: time 0.005747/0.9051, allocations: 2.901 MB / 1.377 GB, free: 16.97 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (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 & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches