Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001539/0.001539, allocations: 182.5 kB / 498.1 MB, free: 5.688 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.554/1.554, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009928/0.0009928, allocations: 109.3 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003973, allocations: 10.5 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2749, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.4519, allocations: 150.4 MB / 1.37 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.4522, allocations: 83.95 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007727/0.46, allocations: 2.408 MB / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/0.46, allocations: 0 / 1.372 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.4601, allocations: 0 / 1.372 GB, free: 9.141 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003698/0.4604, allocations: 331.4 kB / 1.373 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4605, allocations: 16.03 kB / 1.373 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.4605, allocations: 3.906 kB / 1.373 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.4607, allocations: 167 kB / 1.373 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.4607, allocations: 0 / 1.373 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.4607, allocations: 4 kB / 1.373 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.4608, allocations: 41.62 kB / 1.373 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.4609, allocations: 3.984 kB / 1.373 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4609, allocations: 0 / 1.373 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4609, allocations: 0 / 1.373 GB, free: 8.492 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.4609, allocations: 4 kB / 1.373 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.4611, allocations: 161.6 kB / 1.373 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/0.4612, allocations: 30.72 kB / 1.373 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/0.4625, allocations: 0.555 MB / 1.373 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.4626, allocations: 42.44 kB / 1.374 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.4626, allocations: 0 / 1.374 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001667/0.4627, allocations: 45.69 kB / 1.374 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.4628, allocations: 51.41 kB / 1.374 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.331e-05/0.4628, allocations: 96.98 kB / 1.374 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.4629, allocations: 29.7 kB / 1.374 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.4629, allocations: 84.12 kB / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.4629, allocations: 7.844 kB / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.463, allocations: 0 / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4631, allocations: 314.8 kB / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.4631, allocations: 4 kB / 1.374 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.4631, allocations: 7.984 kB / 1.374 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.576e-05/0.4631, allocations: 8.078 kB / 1.374 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4631, allocations: 7.938 kB / 1.374 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.181e-05/0.4632, allocations: 49.55 kB / 1.374 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4632, allocations: 7.984 kB / 1.374 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.4633, allocations: 0 / 1.374 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4633, allocations: 0 / 1.374 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.4633, allocations: 4 kB / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.4634, allocations: 4 kB / 1.374 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.4634, allocations: 0 / 1.374 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.4634, allocations: 0 / 1.374 GB, free: 6.805 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): 3 * 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 7.393e-05/0.4635, allocations: 118.5 kB / 1.374 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.4635, allocations: 4 kB / 1.374 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.4636, allocations: 53.12 kB / 1.374 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4636, allocations: 3.984 kB / 1.374 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4636, allocations: 4 kB / 1.374 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4636, allocations: 0 / 1.374 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.4637, allocations: 149.7 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4638, allocations: 7.938 kB / 1.375 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.4638, allocations: 4 kB / 1.375 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4638, allocations: 8 kB / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.4638, allocations: 0 / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4638, allocations: 0 / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4638, allocations: 384 / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.4639, allocations: 73.05 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.464, allocations: 88.91 kB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.464, allocations: 4 kB / 1.375 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.464, allocations: 4 kB / 1.375 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.464, allocations: 4 kB / 1.375 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.464, allocations: 3.984 kB / 1.375 GB, free: 6.18 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.4641, allocations: 79.28 kB / 1.375 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4641, allocations: 0 / 1.375 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002265/0.4643, allocations: 23.94 kB / 1.375 GB, free: 6.078 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 (3): * Single equations (assignments): 3 * 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.0002747/0.4646, allocations: 135.1 kB / 1.375 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.227e-05/0.4647, allocations: 11.98 kB / 1.375 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4647, allocations: 3.938 kB / 1.375 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.682e-05/0.4647, allocations: 11.94 kB / 1.375 GB, free: 5.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.4649, allocations: 6.062 kB / 1.375 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.4652, allocations: 118.6 kB / 1.375 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.4655, allocations: 0.6809 MB / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.4655, allocations: 4 kB / 1.376 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.83e-05/0.4655, allocations: 7.438 kB / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/0.4655, allocations: 0 / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of Templates: time 0.00298/0.4685, allocations: 0.7789 MB / 1.377 GB, free: 4.27 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches