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.507/1.507, allocations: 249.3 MB / 261.9 MB, free: 5.914 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.001148/0.001148, allocations: 172.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.1 MB / 0.572 GB, free: 10.64 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.001037/0.001038, allocations: 87.62 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.493e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2367, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8496/1.086, allocations: 132.7 MB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/1.087, allocations: 101.4 kB / 1.022 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007304/1.094, allocations: 2.348 MB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.978e-06/1.094, allocations: 4 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.724e-06/1.094, allocations: 3.938 kB / 1.024 GB, free: 15.69 MB / 0.6511 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.0003194/1.094, allocations: 326.5 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.094, allocations: 8.031 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/1.094, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/1.095, allocations: 171 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/1.095, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/1.095, allocations: 11.36 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.392e-05/1.095, allocations: 29.7 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/1.095, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/1.095, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.095, allocations: 4 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.818e-05/1.095, allocations: 17.8 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/1.095, allocations: 152.9 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.118e-05/1.095, allocations: 36.83 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/1.095, allocations: 12.92 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/1.096, allocations: 0.5582 MB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/1.096, allocations: 37.3 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/1.096, allocations: 0 / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0001592/1.097, allocations: 41.14 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/1.097, allocations: 55.41 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/1.097, allocations: 88.98 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/1.097, allocations: 25.7 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/1.097, allocations: 84.27 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/1.097, allocations: 15.19 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/1.097, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.097, allocations: 310.8 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/1.097, allocations: 7.812 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/1.097, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/1.097, allocations: 7.984 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.097, allocations: 3.953 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.363e-05/1.097, allocations: 45.58 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.097, allocations: 8 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.097, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.097, allocations: 4.172 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/1.097, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/1.097, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/1.097, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/1.097, allocations: 7.984 kB / 1.026 GB, free: 13.4 MB / 0.6511 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 8.084e-05/1.097, allocations: 103.2 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/1.098, allocations: 3.953 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/1.098, allocations: 59.31 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.098, allocations: 3.938 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.098, allocations: 3.938 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.098, allocations: 3.984 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/1.098, allocations: 153 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.098, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/1.098, allocations: 12.81 kB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.098, allocations: 3.938 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/1.098, allocations: 0 / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.098, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.098, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.881e-05/1.098, allocations: 71.72 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/1.098, allocations: 77.11 kB / 1.026 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/1.098, allocations: 7.953 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.183e-05/1.098, allocations: 0 / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/1.098, allocations: 4 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/1.098, allocations: 0 / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.804e-05/1.098, allocations: 87.27 kB / 1.026 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.098, allocations: 3.938 kB / 1.026 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002454/1.098, allocations: 23.94 kB / 1.026 GB, free: 12.7 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.0002774/1.099, allocations: 132.4 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.495e-05/1.099, allocations: 8.094 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.099, allocations: 4 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/1.099, allocations: 11.5 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/1.099, allocations: 7.984 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/1.099, allocations: 60.55 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/1.1, allocations: 0.677 MB / 1.027 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.219e-05/1.1, allocations: 7.984 kB / 1.027 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/1.1, allocations: 11.44 kB / 1.027 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of SimCode: time 2.1e-07/1.1, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of Templates: time 0.003138/1.103, allocations: 0.7965 MB / 1.028 GB, free: 10.96 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