Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.238/1.238, allocations: 249.4 MB / 256.7 MB, free: 7.02 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.0009232/0.0009232, allocations: 181 kB / 316 MB, free: 3.547 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.081/1.081, 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.0008864/0.0008864, allocations: 93.14 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.512e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1571, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.6019, allocations: 133.5 MB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.6022, allocations: 99.06 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01019/0.6124, allocations: 3.231 MB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.6125, allocations: 0 / 1.018 GB, free: 2.395 MB / 0.6355 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.0003967/0.6129, allocations: 380.8 kB / 1.019 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.613, allocations: 8.031 kB / 1.019 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.613, allocations: 3.906 kB / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.6132, allocations: 170.9 kB / 1.019 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.6132, allocations: 4 kB / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.6132, allocations: 0 / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000103/0.6133, allocations: 39.03 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.175e-05/0.6134, allocations: 44.69 kB / 1.019 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6134, allocations: 4 kB / 1.019 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6135, allocations: 0 / 1.019 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6135, allocations: 0 / 1.019 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.6137, allocations: 163.6 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.696e-05/0.6138, allocations: 49.48 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.6138, allocations: 28.41 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.6139, allocations: 4.844 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.6139, allocations: 38.5 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.6139, allocations: 3.938 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002292/0.6141, allocations: 72.89 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.6142, allocations: 58.78 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.6143, allocations: 115.7 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.6143, allocations: 25.7 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.6144, allocations: 87.75 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.6144, allocations: 11.84 kB / 1.02 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.6144, allocations: 7.969 kB / 1.02 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6145, allocations: 318.5 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.6146, allocations: 38.11 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-05/0.6146, allocations: 41.22 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.6148, allocations: 47.17 kB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6148, allocations: 0 / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001931/0.615, allocations: 125.9 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.615, allocations: 8 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.615, allocations: 80 / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.615, allocations: 7.906 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.6151, allocations: 4 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.6151, allocations: 3.984 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.6151, allocations: 0 / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.6152, allocations: 4 kB / 1.02 GB, free: 412 kB / 0.6355 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.52e-05/0.6152, allocations: 104.9 kB / 1.02 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.6153, allocations: 4 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.6154, allocations: 87.64 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6154, allocations: 4 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6155, allocations: 4.031 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6155, allocations: 3.938 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.97e-05/0.6156, allocations: 153.2 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.6156, allocations: 0 / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.6156, allocations: 4 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.6156, allocations: 0 / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.6156, allocations: 0 / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6156, allocations: 0 / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6156, allocations: 3.906 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000198/0.6158, allocations: 103.5 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.6159, allocations: 77.11 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.6159, allocations: 11.83 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.436e-05/0.6159, allocations: 4 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.616, allocations: 0 / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.616, allocations: 0 / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.214e-05/0.616, allocations: 107.9 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003573/0.6164, allocations: 75.86 kB / 1.021 GB, free: 15.61 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 (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.0004234/0.6168, allocations: 190.1 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.617, allocations: 62.09 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.617, allocations: 4 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.6171, allocations: 15.62 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.6173, allocations: 31.28 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.6176, allocations: 95.02 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.6179, allocations: 0.7035 MB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.6179, allocations: 8.062 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.004317/0.6222, allocations: 2.041 MB / 1.024 GB, free: 12.51 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches