Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [: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.912/1.912, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001058/0.001058, allocations: 181.2 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.207/1.207, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.0009042/0.0009042, allocations: 92.19 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.532e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2449, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6105/0.8554, allocations: 153.2 MB / 1.355 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.8557, allocations: 86.3 kB / 1.355 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03234/0.8881, allocations: 11.79 MB / 1.366 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.273e-05/0.8881, allocations: 12 kB / 1.366 GB, free: 10.18 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0013/0.8895, allocations: 0.8565 MB / 1.367 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.8895, allocations: 13.03 kB / 1.367 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.8908, allocations: 267.7 kB / 1.368 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007708/0.8916, allocations: 0.5551 MB / 1.368 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.8917, allocations: 15.94 kB / 1.368 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.8918, allocations: 16 kB / 1.368 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006458/0.8924, allocations: 402 kB / 1.368 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.893, allocations: 343.3 kB / 1.369 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.893, allocations: 0 / 1.369 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.893, allocations: 4 kB / 1.369 GB, free: 8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.893, allocations: 4 kB / 1.369 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003831/0.8969, allocations: 2.134 MB / 1.371 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.8975, allocations: 242.8 kB / 1.371 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.8976, allocations: 86.86 kB / 1.371 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.8977, allocations: 11.92 kB / 1.371 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.8977, allocations: 41.47 kB / 1.371 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 2.926e-06/0.8977, allocations: 4 kB / 1.371 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0005105/0.8982, allocations: 259.2 kB / 1.372 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.8983, allocations: 55.41 kB / 1.372 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.8995, allocations: 1.035 MB / 1.373 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.8996, allocations: 29.69 kB / 1.373 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.8997, allocations: 241.2 kB / 1.373 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.8997, allocations: 61.22 kB / 1.373 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.8998, allocations: 0 / 1.373 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.8998, allocations: 320 kB / 1.373 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.9, allocations: 166.5 kB / 1.373 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.9002, allocations: 189.7 kB / 1.374 GB, free: 4.016 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007572/0.901, allocations: 272.7 kB / 1.374 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.901, allocations: 0 / 1.374 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001076/0.9021, allocations: 0.5548 MB / 1.374 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.9021, allocations: 7.984 kB / 1.374 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9021, allocations: 0 / 1.374 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.9022, allocations: 0 / 1.374 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/0.9026, allocations: 83.91 kB / 1.374 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.9026, allocations: 4 kB / 1.374 GB, free: 3.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.903, allocations: 59.8 kB / 1.374 GB, free: 3.238 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.9031, allocations: 19.3 kB / 1.375 GB, free: 3.223 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.065e-05/0.9032, allocations: 104.9 kB / 1.375 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.9033, allocations: 78.97 kB / 1.375 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/0.9039, allocations: 309.5 kB / 1.375 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.9039, allocations: 0 / 1.375 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.9039, allocations: 0 / 1.375 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.9039, allocations: 4 kB / 1.375 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.9052, allocations: 1.013 MB / 1.376 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.9052, allocations: 3.938 kB / 1.376 GB, free: 1.961 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.9056, allocations: 83.25 kB / 1.376 GB, free: 1.883 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.9056, allocations: 4 kB / 1.376 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.9057, allocations: 8 kB / 1.376 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.9057, allocations: 3.984 kB / 1.376 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9057, allocations: 4 kB / 1.376 GB, free: 1.863 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000466/0.9062, allocations: 478.2 kB / 1.377 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.9064, allocations: 231.2 kB / 1.377 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.9065, allocations: 7.938 kB / 1.377 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.907, allocations: 47.95 kB / 1.377 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.9071, allocations: 19.91 kB / 1.377 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.9071, allocations: 4 kB / 1.377 GB, free: 1.113 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0009188/0.908, allocations: 0.8112 MB / 1.378 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004553/0.9085, allocations: 127.5 kB / 1.378 GB, free: 420 kB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0003319/0.9088, allocations: 175.5 kB / 1.378 GB, free: 252 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003842/0.9092, allocations: 239 kB / 1.378 GB, free: 96 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9092, allocations: 0 / 1.378 GB, free: 96 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.9094, allocations: 93.86 kB / 1.378 GB, free: 32 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.9098, allocations: 51.5 kB / 1.378 GB, free: 8 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.9123, allocations: 1.072 MB / 1.379 GB, free: 15.01 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000921/0.9132, allocations: 1.059 MB / 1.38 GB, free: 13.96 MB / 0.823 GB Notification: Performance of SimCode: time 6.51e-07/0.9132, allocations: 0 / 1.38 GB, free: 13.96 MB / 0.823 GB Notification: Performance of Templates: time 0.01253/0.9258, allocations: 5.134 MB / 1.385 GB, free: 8.898 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches