Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") [: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 10.0.0-master/package.mo): time 2.005/2.005, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001354/0.001354, allocations: 179.7 kB / 490.8 MB, free: 1.945 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.493/1.493, allocations: 221.4 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 95.73 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.135e-05/1.138e-05, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.304, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8509/1.155, allocations: 150.8 MB / 1.359 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.155, allocations: 92.83 kB / 1.359 GB, free: 17.45 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01132/1.167, allocations: 3.269 MB / 1.362 GB, free: 17.27 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.167, allocations: 0 / 1.362 GB, free: 17.27 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003954/1.167, allocations: 367.1 kB / 1.363 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.167, allocations: 8.844 kB / 1.363 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/1.167, allocations: 2 kB / 1.363 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/1.167, allocations: 175 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/1.167, allocations: 5.625 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/1.167, allocations: 0 / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000104/1.167, allocations: 33.72 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.353e-05/1.167, allocations: 49.67 kB / 1.363 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.167, allocations: 1.781 kB / 1.363 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/1.167, allocations: 5.562 kB / 1.363 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.167, allocations: 0 / 1.363 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/1.168, allocations: 158.6 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.867e-05/1.168, allocations: 53.42 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/1.168, allocations: 29.3 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/1.168, allocations: 9.984 kB / 1.363 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/1.168, allocations: 35.88 kB / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/1.168, allocations: 0 / 1.363 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002075/1.168, allocations: 69.73 kB / 1.363 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.667e-05/1.168, allocations: 51.41 kB / 1.363 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.168, allocations: 136.6 kB / 1.363 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/1.168, allocations: 29.64 kB / 1.363 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/1.168, allocations: 86.36 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/1.168, allocations: 5.938 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/1.168, allocations: 0 / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.168, allocations: 316.8 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.09e-05/1.169, allocations: 39.16 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-05/1.169, allocations: 40.61 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/1.169, allocations: 45.91 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.169, allocations: 0 / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002135/1.169, allocations: 132.4 kB / 1.364 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.169, allocations: 5.719 kB / 1.364 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.169, allocations: 0 / 1.364 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.169, allocations: 0 / 1.364 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/1.169, allocations: 8.438 kB / 1.364 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/1.169, allocations: 1.062 kB / 1.364 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/1.169, allocations: 5.062 kB / 1.364 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/1.169, allocations: 5.234 kB / 1.364 GB, free: 31.73 MB / 0.8386 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 7.063e-05/1.169, allocations: 106.1 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/1.169, allocations: 6.062 kB / 1.364 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/1.169, allocations: 83.56 kB / 1.364 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.169, allocations: 1.406 kB / 1.364 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.169, allocations: 0 / 1.364 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.169, allocations: 0 / 1.364 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.575e-05/1.17, allocations: 156.8 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.17, allocations: 0 / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/1.17, allocations: 3.984 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.17, allocations: 5.219 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/1.17, allocations: 1.312 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.17, allocations: 1.188 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.17, allocations: 0 / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001183/1.17, allocations: 100.6 kB / 1.364 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/1.17, allocations: 83.11 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/1.17, allocations: 0 / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.282e-05/1.17, allocations: 1.125 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.889e-05/1.17, allocations: 6.547 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/1.17, allocations: 1.219 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.835e-05/1.17, allocations: 108.7 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000367/1.17, allocations: 78.38 kB / 1.365 GB, free: 31.14 MB / 0.8386 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 (2): * Single equations (assignments): 2 * 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.0003966/1.171, allocations: 186.2 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001736/1.171, allocations: 62.75 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.171, allocations: 0.9062 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/1.171, allocations: 20.22 kB / 1.365 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/1.171, allocations: 24.62 kB / 1.365 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/1.171, allocations: 113.5 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/1.172, allocations: 0.7034 MB / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.172, allocations: 0 / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of Templates: time 0.005399/1.177, allocations: 2.057 MB / 1.368 GB, free: 30.09 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches