Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.892/1.892, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001091/0.001091, allocations: 181.2 kB / 487 MB, free: 5.305 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.201/1.201, allocations: 221.3 MB / 0.7819 GB, free: 1.328 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.0009526/0.0009525, allocations: 105.8 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.124e-06/7.144e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2467, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6259/0.8726, allocations: 151.4 MB / 1.353 GB, free: 16.06 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.8729, allocations: 82.62 kB / 1.353 GB, free: 16.06 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02467/0.8976, allocations: 9.575 MB / 1.362 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.8976, allocations: 12 kB / 1.362 GB, free: 13.25 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007846/0.8984, allocations: 0.7266 MB / 1.363 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.8985, allocations: 12.03 kB / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006445/0.8991, allocations: 125.1 kB / 1.363 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.8997, allocations: 0.522 MB / 1.364 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.8998, allocations: 4 kB / 1.364 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.8998, allocations: 8 kB / 1.364 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004131/0.9002, allocations: 260.7 kB / 1.364 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.9006, allocations: 210.7 kB / 1.364 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.9006, allocations: 0 / 1.364 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.9006, allocations: 0 / 1.364 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.9006, allocations: 0.6562 kB / 1.364 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.902, allocations: 0.9453 MB / 1.365 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.9025, allocations: 375.2 kB / 1.366 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.9027, allocations: 126.5 kB / 1.366 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006714/0.9034, allocations: 326.1 kB / 1.366 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.9034, allocations: 38.67 kB / 1.366 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.9034, allocations: 0 / 1.366 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0009742/0.9044, allocations: 450.5 kB / 1.366 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.9044, allocations: 54.91 kB / 1.367 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008238/0.9053, allocations: 0.864 MB / 1.367 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.9053, allocations: 25.7 kB / 1.367 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.9054, allocations: 178 kB / 1.368 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.9054, allocations: 34.61 kB / 1.368 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.9054, allocations: 0 / 1.368 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.9055, allocations: 312.7 kB / 1.368 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.9056, allocations: 121.3 kB / 1.368 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.9057, allocations: 115.7 kB / 1.368 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000638/0.9064, allocations: 228.2 kB / 1.368 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9064, allocations: 4 kB / 1.368 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000867/0.9073, allocations: 454.8 kB / 1.369 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.9073, allocations: 6.969 kB / 1.369 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.9073, allocations: 0 / 1.369 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.9073, allocations: 4 kB / 1.369 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.9075, allocations: 27.98 kB / 1.369 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.9075, allocations: 3.984 kB / 1.369 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.9077, allocations: 23.92 kB / 1.369 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.9078, allocations: 11.98 kB / 1.369 GB, free: 7.98 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: 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 5.825e-05/0.9078, allocations: 108.8 kB / 1.369 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.9079, allocations: 74.94 kB / 1.369 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.9091, allocations: 0.5295 MB / 1.37 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.9091, allocations: 0 / 1.37 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.9091, allocations: 0 / 1.37 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.9091, allocations: 0 / 1.37 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.9096, allocations: 0.5204 MB / 1.37 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.9096, allocations: 0 / 1.37 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.9098, allocations: 35.92 kB / 1.37 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.9098, allocations: 4 kB / 1.37 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.9098, allocations: 3.984 kB / 1.37 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.9098, allocations: 4 kB / 1.37 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.9098, allocations: 0 / 1.37 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008966/0.9107, allocations: 0.5388 MB / 1.371 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.9109, allocations: 198.8 kB / 1.371 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.911, allocations: 4 kB / 1.371 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.9112, allocations: 15.98 kB / 1.371 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.9113, allocations: 7.984 kB / 1.371 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.9113, allocations: 15.31 kB / 1.371 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0006308/0.9119, allocations: 0.6723 MB / 1.372 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003277/0.9123, allocations: 79.83 kB / 1.372 GB, free: 5.629 MB / 0.8073 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.0002648/0.9125, allocations: 173.2 kB / 1.372 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.9128, allocations: 186.1 kB / 1.372 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.9128, allocations: 192 / 1.372 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.9129, allocations: 103.7 kB / 1.372 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.9132, allocations: 44.06 kB / 1.372 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.9144, allocations: 0.8579 MB / 1.373 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/0.915, allocations: 0.9976 MB / 1.374 GB, free: 19.46 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.9151, allocations: 0 / 1.374 GB, free: 19.46 MB / 0.823 GB Notification: Performance of Templates: time 0.007601/0.9227, allocations: 3.355 MB / 1.377 GB, free: 16.18 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches