Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.192/1.192, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.0009024/0.0009024, allocations: 177.2 kB / 316 MB, free: 3.559 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.022/1.022, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0007869/0.0007869, allocations: 88.45 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.832e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3787/0.5065, allocations: 136.8 MB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.5067, allocations: 82.27 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02664/0.5333, allocations: 11.8 MB / 1.03 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.5334, allocations: 16 kB / 1.03 GB, free: 7.766 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0008978/0.5343, allocations: 0.8638 MB / 1.031 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.5343, allocations: 8.031 kB / 1.031 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.5355, allocations: 270.1 kB / 1.031 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.5361, allocations: 0.5574 MB / 1.031 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.5361, allocations: 12 kB / 1.031 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.5361, allocations: 16 kB / 1.031 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006035/0.5368, allocations: 407 kB / 1.032 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.5373, allocations: 342.8 kB / 1.032 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5373, allocations: 3.938 kB / 1.032 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.5373, allocations: 4 kB / 1.032 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.5373, allocations: 8 kB / 1.032 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.5408, allocations: 2.144 MB / 1.034 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.5414, allocations: 255.2 kB / 1.035 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.5415, allocations: 78.36 kB / 1.035 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.5416, allocations: 15.17 kB / 1.035 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.5416, allocations: 38.55 kB / 1.035 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.5416, allocations: 0 / 1.035 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0004694/0.5421, allocations: 259.8 kB / 1.035 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.5421, allocations: 59.34 kB / 1.035 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.5433, allocations: 1.046 MB / 1.036 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.5433, allocations: 29.7 kB / 1.036 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5434, allocations: 240.7 kB / 1.036 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.5435, allocations: 69.5 kB / 1.036 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.5435, allocations: 4 kB / 1.036 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.3e-05/0.5436, allocations: 313.6 kB / 1.037 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.5438, allocations: 164.9 kB / 1.037 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.5441, allocations: 191.6 kB / 1.037 GB, free: 1.539 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.5448, allocations: 267.8 kB / 1.037 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5448, allocations: 0 / 1.037 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001123/0.546, allocations: 0.5622 MB / 1.038 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.546, allocations: 7.984 kB / 1.038 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.546, allocations: 8.031 kB / 1.038 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.546, allocations: 0 / 1.038 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.5465, allocations: 83.06 kB / 1.038 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5465, allocations: 7.938 kB / 1.038 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.5469, allocations: 55.8 kB / 1.038 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.5469, allocations: 15.98 kB / 1.038 GB, free: 0.7422 MB / 0.6511 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.293e-05/0.547, allocations: 116.7 kB / 1.038 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.5471, allocations: 82.88 kB / 1.038 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.5477, allocations: 301 kB / 1.038 GB, free: 328 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5477, allocations: 0 / 1.038 GB, free: 328 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5477, allocations: 4 kB / 1.038 GB, free: 324 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5477, allocations: 4 kB / 1.038 GB, free: 320 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.5491, allocations: 1.03 MB / 1.039 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5491, allocations: 4 kB / 1.039 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.5495, allocations: 83.06 kB / 1.04 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5495, allocations: 0 / 1.04 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.5495, allocations: 4 kB / 1.04 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.5496, allocations: 7.984 kB / 1.04 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5496, allocations: 0 / 1.04 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004845/0.5501, allocations: 489.6 kB / 1.04 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.5503, allocations: 228.8 kB / 1.04 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.723e-05/0.5504, allocations: 4 kB / 1.04 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.5508, allocations: 47.86 kB / 1.04 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.5509, allocations: 23.16 kB / 1.04 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.5509, allocations: 19.98 kB / 1.04 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0008145/0.5517, allocations: 0.8174 MB / 1.041 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003816/0.5521, allocations: 115.7 kB / 1.041 GB, free: 13.91 MB / 0.6667 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.0002466/0.5524, allocations: 179 kB / 1.041 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003583/0.5528, allocations: 243.3 kB / 1.042 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5528, allocations: 0 / 1.042 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.5529, allocations: 102.1 kB / 1.042 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.5532, allocations: 56.56 kB / 1.042 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.5552, allocations: 1.077 MB / 1.043 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007189/0.5559, allocations: 1.063 MB / 1.044 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of SimCode: time 2.7e-07/0.556, allocations: 4 kB / 1.044 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of Templates: time 0.0106/0.5666, allocations: 5.236 MB / 1.049 GB, free: 6.223 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches