Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.113/2.113, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001855/0.001856, allocations: 173.3 kB / 487 MB, free: 5.363 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.551/1.551, allocations: 221.3 MB / 0.7819 GB, free: 1.434 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.001238/0.001238, allocations: 96.67 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.376e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.298, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8939/1.192, allocations: 150 MB / 1.352 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/1.192, allocations: 93.22 kB / 1.352 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0117/1.204, allocations: 3.265 MB / 1.355 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.204, allocations: 4 kB / 1.355 GB, free: 15.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003795/1.205, allocations: 365.5 kB / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.205, allocations: 9.75 kB / 1.355 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/1.205, allocations: 10.95 kB / 1.355 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/1.205, allocations: 171.6 kB / 1.356 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/1.205, allocations: 3.406 kB / 1.356 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/1.205, allocations: 1.703 kB / 1.356 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001111/1.205, allocations: 32.78 kB / 1.356 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.994e-05/1.205, allocations: 51.14 kB / 1.356 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/1.205, allocations: 4 kB / 1.356 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/1.205, allocations: 0 / 1.356 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/1.205, allocations: 1.25 kB / 1.356 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/1.205, allocations: 157.8 kB / 1.356 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.511e-05/1.205, allocations: 53.62 kB / 1.356 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/1.205, allocations: 26.3 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.286e-05/1.205, allocations: 8.125 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/1.205, allocations: 40.3 kB / 1.356 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/1.205, allocations: 1.375 kB / 1.356 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0002309/1.206, allocations: 64.22 kB / 1.356 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/1.206, allocations: 53.73 kB / 1.356 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/1.206, allocations: 135.1 kB / 1.356 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/1.206, allocations: 25.7 kB / 1.356 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/1.206, allocations: 83.23 kB / 1.356 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/1.206, allocations: 9.5 kB / 1.356 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/1.206, allocations: 0 / 1.356 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.449e-05/1.206, allocations: 319.4 kB / 1.357 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/1.206, allocations: 43.78 kB / 1.357 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/1.206, allocations: 44.84 kB / 1.357 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/1.206, allocations: 47.67 kB / 1.357 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.206, allocations: 0 / 1.357 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002312/1.207, allocations: 128.8 kB / 1.357 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.207, allocations: 8.406 kB / 1.357 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/1.207, allocations: 3.984 kB / 1.357 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/1.207, allocations: 5.969 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.875e-05/1.207, allocations: 3.969 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.207, allocations: 0 / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/1.207, allocations: 5.891 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/1.207, allocations: 4.281 kB / 1.357 GB, free: 14.2 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 (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 5.115e-05/1.207, allocations: 105 kB / 1.357 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/1.207, allocations: 6.594 kB / 1.357 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/1.207, allocations: 84.28 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.207, allocations: 4.844 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.207, allocations: 0 / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.207, allocations: 1.188 kB / 1.357 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.409e-05/1.207, allocations: 155.6 kB / 1.357 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/1.207, allocations: 0 / 1.357 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/1.207, allocations: 4.141 kB / 1.357 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.207, allocations: 5.594 kB / 1.357 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/1.207, allocations: 0.7812 kB / 1.357 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/1.207, allocations: 0 / 1.357 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.207, allocations: 1.672 kB / 1.357 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001352/1.207, allocations: 103.1 kB / 1.357 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/1.207, allocations: 83.95 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/1.207, allocations: 0 / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.321e-05/1.207, allocations: 1.156 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/1.207, allocations: 1.375 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/1.207, allocations: 2.297 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.462e-05/1.207, allocations: 103.3 kB / 1.357 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003349/1.208, allocations: 75.38 kB / 1.358 GB, free: 13.62 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 (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.0003856/1.208, allocations: 190 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000175/1.208, allocations: 58.95 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/1.208, allocations: 4 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.085e-05/1.208, allocations: 20.27 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/1.209, allocations: 33.45 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/1.209, allocations: 105.3 kB / 1.358 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/1.209, allocations: 0.709 MB / 1.359 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/1.209, allocations: 0 / 1.359 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of Templates: time 0.005774/1.215, allocations: 2.039 MB / 1.361 GB, free: 12.57 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches