Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 249.5 MB / 257 MB, free: 7.004 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.001078/0.001078, allocations: 188 kB / 316.3 MB, free: 3.207 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.616/1.616, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008886/0.0008886, allocations: 99.78 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.262e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.252, allocations: 106.3 MB / 0.8852 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8659/1.118, allocations: 133 MB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.118, allocations: 88.5 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007511/1.126, allocations: 2.351 MB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.395e-06/1.126, allocations: 0 / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.126, allocations: 0 / 1.018 GB, free: 2.492 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003315/1.126, allocations: 329.8 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/1.126, allocations: 9.062 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/1.126, allocations: 4 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/1.126, allocations: 174.9 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/1.126, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/1.127, allocations: 3.984 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.431e-05/1.127, allocations: 11.98 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.231e-05/1.127, allocations: 33.14 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.127, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/1.127, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.127, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/1.127, allocations: 141.6 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.108e-05/1.127, allocations: 30.45 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/1.127, allocations: 16.36 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/1.128, allocations: 0.5511 MB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/1.128, allocations: 38.36 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/1.128, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002025/1.129, allocations: 37.69 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/1.129, allocations: 51.41 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/1.129, allocations: 96.44 kB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/1.129, allocations: 25.7 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/1.129, allocations: 80.14 kB / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/1.129, allocations: 11.81 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/1.129, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.129, allocations: 318.4 kB / 1.019 GB, free: 328 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/1.129, allocations: 4 kB / 1.019 GB, free: 324 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-06/1.129, allocations: 0 / 1.019 GB, free: 324 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/1.129, allocations: 12.06 kB / 1.019 GB, free: 312 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.129, allocations: 0 / 1.019 GB, free: 312 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.338e-05/1.129, allocations: 48.77 kB / 1.019 GB, free: 260 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.129, allocations: 4 kB / 1.019 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.129, allocations: 0 / 1.019 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/1.129, allocations: 0 / 1.019 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/1.129, allocations: 8 kB / 1.019 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.129, allocations: 0 / 1.019 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.356e-05/1.129, allocations: 0 / 1.019 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/1.129, allocations: 0 / 1.019 GB, free: 248 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): 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.661e-05/1.129, allocations: 105 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/1.129, allocations: 11.94 kB / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/1.129, allocations: 53.06 kB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/1.129, allocations: 3.938 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.129, allocations: 0 / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.13, allocations: 0 / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/1.13, allocations: 133.5 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.13, allocations: 5.047 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/1.13, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/1.13, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/1.13, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.13, allocations: 7.953 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.13, allocations: 3.984 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/1.13, allocations: 68.53 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/1.13, allocations: 80.3 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/1.13, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/1.13, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/1.13, allocations: 19.88 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/1.13, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.034e-05/1.13, allocations: 75.28 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.13, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002117/1.13, allocations: 27.94 kB / 1.02 GB, free: 15.57 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 (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.0002746/1.13, allocations: 131.2 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.641e-05/1.131, allocations: 19.11 kB / 1.02 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.131, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.211e-05/1.131, allocations: 4 kB / 1.02 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/1.131, allocations: 13 kB / 1.02 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/1.131, allocations: 54.53 kB / 1.02 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/1.131, allocations: 0.6768 MB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.053e-05/1.131, allocations: 11.94 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/1.131, allocations: 7.438 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.131, allocations: 3.938 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.002895/1.134, allocations: 0.7802 MB / 1.022 GB, free: 13.87 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches