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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001105/0.001105, allocations: 181 kB / 498.1 MB, free: 5.734 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.628/1.628, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001107/0.001107, allocations: 88.33 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003785, allocations: 6.906 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3558, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.5588, allocations: 150.8 MB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/0.5592, allocations: 103.9 kB / 1.37 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01151/0.5707, allocations: 3.582 MB / 1.374 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5708, allocations: 4 kB / 1.374 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.5708, allocations: 4 kB / 1.374 GB, free: 7.578 MB / 0.8698 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.0005222/0.5713, allocations: 383 kB / 1.374 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.5714, allocations: 12.03 kB / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.5714, allocations: 0 / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.5716, allocations: 182.9 kB / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.5716, allocations: 0 / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.5716, allocations: 4 kB / 1.374 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5718, allocations: 45.69 kB / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.5718, allocations: 3.984 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.5718, allocations: 0 / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.5718, allocations: 0 / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.517e-05/0.5719, allocations: 31.92 kB / 1.374 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.5722, allocations: 185.6 kB / 1.375 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.786e-05/0.5723, allocations: 50.56 kB / 1.375 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.419e-05/0.5724, allocations: 8.047 kB / 1.375 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.5724, allocations: 38.56 kB / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.5724, allocations: 0 / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002142/0.5726, allocations: 85.52 kB / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.5727, allocations: 55.39 kB / 1.375 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.5728, allocations: 131.2 kB / 1.375 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.5728, allocations: 25.7 kB / 1.375 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.5729, allocations: 84.14 kB / 1.375 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.5729, allocations: 11.97 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.573, allocations: 4 kB / 1.375 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5731, allocations: 318.8 kB / 1.375 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-05/0.5732, allocations: 35.98 kB / 1.375 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.116e-05/0.5732, allocations: 39.97 kB / 1.375 GB, free: 5.676 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.333e-05/0.5733, allocations: 43.92 kB / 1.375 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5733, allocations: 0 / 1.375 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001826/0.5735, allocations: 129.5 kB / 1.376 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5735, allocations: 4.781 kB / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5735, allocations: 0 / 1.376 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5736, allocations: 4 kB / 1.376 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.5736, allocations: 4 kB / 1.376 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5736, allocations: 3.938 kB / 1.376 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.5737, allocations: 0 / 1.376 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.5737, allocations: 8 kB / 1.376 GB, free: 5.477 MB / 0.8698 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 () * Number of clocked 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 0.0001061/0.5738, allocations: 129.5 kB / 1.376 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.5738, allocations: 3.906 kB / 1.376 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.574, allocations: 81.14 kB / 1.376 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.574, allocations: 7.969 kB / 1.376 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.574, allocations: 7.984 kB / 1.376 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.574, allocations: 96 / 1.376 GB, free: 5.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.5742, allocations: 165.7 kB / 1.376 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5742, allocations: 7.938 kB / 1.376 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.5742, allocations: 7.984 kB / 1.376 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5742, allocations: 0 / 1.376 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.5742, allocations: 4 kB / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5743, allocations: 0 / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5743, allocations: 0 / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.5744, allocations: 97.02 kB / 1.376 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.5745, allocations: 85.06 kB / 1.376 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.5745, allocations: 0 / 1.376 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/0.5745, allocations: 4 kB / 1.376 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.5745, allocations: 0 / 1.376 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.5745, allocations: 7.984 kB / 1.376 GB, free: 4.773 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.934e-05/0.5746, allocations: 95.27 kB / 1.376 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5746, allocations: 3.938 kB / 1.376 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000364/0.575, allocations: 83.89 kB / 1.376 GB, free: 4.594 MB / 0.8698 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 () * Number of clocked 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.0004302/0.5754, allocations: 179.1 kB / 1.377 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.5756, allocations: 71.91 kB / 1.377 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5756, allocations: 0 / 1.377 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/0.5756, allocations: 15.98 kB / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.5759, allocations: 31.83 kB / 1.377 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.5762, allocations: 161.9 kB / 1.377 GB, free: 4.102 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.5765, allocations: 0.6926 MB / 1.378 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.799e-05/0.5766, allocations: 4 kB / 1.378 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.5766, allocations: 11.44 kB / 1.378 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of SimCode: time 6.01e-07/0.5766, allocations: 0 / 1.378 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of Templates: time 0.005451/0.5821, allocations: 2.063 MB / 1.38 GB, free: 1.363 MB / 0.8698 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