Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [: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.184/1.184, allocations: 249.4 MB / 256.7 MB, free: 6.949 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.0009222/0.0009221, allocations: 189.2 kB / 316 MB, free: 3.551 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.028/1.028, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.00079/0.00079, allocations: 85.58 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.713e-06/6.732e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1372, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/0.543, allocations: 135 MB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.5432, allocations: 83.89 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02134/0.5646, allocations: 9.462 MB / 1.026 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.5646, allocations: 12 kB / 1.026 GB, free: 11.48 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006286/0.5652, allocations: 0.7393 MB / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.5653, allocations: 8.031 kB / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/0.5658, allocations: 126.9 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.5663, allocations: 0.5236 MB / 1.027 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.5663, allocations: 4 kB / 1.027 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.5664, allocations: 14.23 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003389/0.5667, allocations: 259.8 kB / 1.027 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.567, allocations: 202.8 kB / 1.028 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.567, allocations: 4 kB / 1.028 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.567, allocations: 0 / 1.028 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.567, allocations: 4 kB / 1.028 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.5681, allocations: 0.9356 MB / 1.028 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.5686, allocations: 372.9 kB / 1.029 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.5688, allocations: 130.7 kB / 1.029 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006303/0.5694, allocations: 324.3 kB / 1.029 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.5694, allocations: 37.75 kB / 1.029 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.5694, allocations: 0 / 1.029 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.000971/0.5704, allocations: 455 kB / 1.03 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.5704, allocations: 55.41 kB / 1.03 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/0.5713, allocations: 0.8613 MB / 1.031 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.5713, allocations: 25.7 kB / 1.031 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.5714, allocations: 188.4 kB / 1.031 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.5714, allocations: 35.11 kB / 1.031 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.5715, allocations: 0 / 1.031 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.5715, allocations: 308.4 kB / 1.031 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.5717, allocations: 117.5 kB / 1.031 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.5718, allocations: 118.7 kB / 1.031 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.5725, allocations: 223.2 kB / 1.032 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5725, allocations: 0 / 1.032 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008879/0.5734, allocations: 451 kB / 1.032 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.5734, allocations: 8 kB / 1.032 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5734, allocations: 0 / 1.032 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.5734, allocations: 0 / 1.032 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.5736, allocations: 35.91 kB / 1.032 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.5737, allocations: 4 kB / 1.032 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.5738, allocations: 24.2 kB / 1.032 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.5739, allocations: 14.94 kB / 1.032 GB, free: 5.898 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.481e-05/0.574, allocations: 105 kB / 1.032 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.574, allocations: 71.06 kB / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.5752, allocations: 0.5312 MB / 1.033 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.5752, allocations: 3.984 kB / 1.033 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5752, allocations: 0 / 1.033 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5753, allocations: 0 / 1.033 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.5757, allocations: 0.5205 MB / 1.033 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5757, allocations: 0 / 1.033 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.5759, allocations: 31.97 kB / 1.033 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.576, allocations: 4 kB / 1.033 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.576, allocations: 4 kB / 1.033 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.576, allocations: 0 / 1.033 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.576, allocations: 0 / 1.033 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000915/0.5769, allocations: 0.5473 MB / 1.034 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.5771, allocations: 200.6 kB / 1.034 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.5772, allocations: 3.906 kB / 1.034 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.5774, allocations: 19.92 kB / 1.034 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.5775, allocations: 15.55 kB / 1.034 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.5775, allocations: 12 kB / 1.034 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0006349/0.5781, allocations: 0.676 MB / 1.035 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003017/0.5784, allocations: 71.84 kB / 1.035 GB, free: 3.539 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0002432/0.5787, allocations: 180 kB / 1.035 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.5789, allocations: 186.6 kB / 1.035 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.5789, allocations: 3.938 kB / 1.035 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.579, allocations: 98.91 kB / 1.035 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.5793, allocations: 39.81 kB / 1.035 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.5806, allocations: 0.8523 MB / 1.036 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005351/0.5812, allocations: 0.9937 MB / 1.037 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.5812, allocations: 0 / 1.037 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of Templates: time 0.007852/0.589, allocations: 3.367 MB / 1.04 GB, free: 14.05 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches