Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.294/2.294, allocations: 393.5 MB / 408.4 MB, free: 11 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.001315/0.001315, allocations: 172 kB / 0.4902 GB, free: 2.223 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.4/1.4, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.0009074/0.0009073, allocations: 98.16 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003593, allocations: 6.938 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.4705, allocations: 151.2 MB / 1.377 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4708, allocations: 87.94 kB / 1.377 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007895/0.4787, allocations: 2.402 MB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.846e-06/0.4787, allocations: 0 / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.4787, allocations: 0 / 1.379 GB, free: 15.8 MB / 0.8855 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.0003133/0.4791, allocations: 335.2 kB / 1.38 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4791, allocations: 12.56 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.4792, allocations: 0 / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.4793, allocations: 171 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.4793, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.4793, allocations: 8 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.4794, allocations: 29.7 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.4794, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.4795, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4795, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.4795, allocations: 15.98 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.4797, allocations: 157.7 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.415e-05/0.4798, allocations: 38.5 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.4809, allocations: 0.555 MB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.481, allocations: 34.56 kB / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.481, allocations: 3.938 kB / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001535/0.4811, allocations: 53.53 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.4812, allocations: 51.41 kB / 1.381 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/0.4812, allocations: 93 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.4813, allocations: 25.7 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.4813, allocations: 80.14 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.4813, allocations: 16.02 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.4813, allocations: 0 / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4815, allocations: 314.8 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.4815, allocations: 0 / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.129e-05/0.4815, allocations: 4 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.101e-05/0.4815, allocations: 11.89 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4816, allocations: 0 / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.541e-05/0.4816, allocations: 45.69 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.4817, allocations: 4 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4817, allocations: 0 / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4817, allocations: 4 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.4817, allocations: 15.92 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.4818, allocations: 0 / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.4818, allocations: 0 / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.4818, allocations: 0 / 1.381 GB, free: 13.46 MB / 0.8855 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.521e-05/0.4819, allocations: 118.8 kB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.4819, allocations: 3.906 kB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.482, allocations: 57.19 kB / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.482, allocations: 0 / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.482, allocations: 0 / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.482, allocations: 0 / 1.381 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.4822, allocations: 157.6 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4822, allocations: 3.953 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.4822, allocations: 11.94 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4822, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.4822, allocations: 3.984 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4822, allocations: 3.938 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4822, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.898e-05/0.4823, allocations: 74.94 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.4824, allocations: 81.06 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.4824, allocations: 4.422 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.4824, allocations: 0 / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.4824, allocations: 0 / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.4824, allocations: 0 / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.4825, allocations: 79.28 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4825, allocations: 4.094 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002229/0.4827, allocations: 31.98 kB / 1.382 GB, free: 12.74 MB / 0.8855 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.0002512/0.483, allocations: 139.8 kB / 1.382 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.392e-05/0.483, allocations: 8 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4831, allocations: 0 / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.022e-05/0.4831, allocations: 19.98 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.4833, allocations: 5.875 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.4835, allocations: 110.7 kB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.4838, allocations: 0.6731 MB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.4838, allocations: 11.92 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.4838, allocations: 11.44 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.4838, allocations: 4 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.002775/0.4866, allocations: 0.7742 MB / 1.384 GB, free: 10.94 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches