Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 192.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.777/2.777, allocations: 437 MB / 0.7101 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 0.8688 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6376/0.6395, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00278/0.6424, allocations: 1.362 MB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.6436, allocations: 0.7299 MB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.456e-05/0.6436, allocations: 0 / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.6437, allocations: 4 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.6437, allocations: 7.938 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.6441, allocations: 80.05 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.602e-05/0.6441, allocations: 19.81 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.6442, allocations: 0 / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.6442, allocations: 7.984 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.6442, allocations: 8 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.6443, allocations: 3.984 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.6446, allocations: 153 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.388e-06/0.6446, allocations: 3.938 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.6446, allocations: 8 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.6448, allocations: 102.2 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.6448, allocations: 4 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6448, allocations: 0 / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.6448, allocations: 0 / 1.019 GB, free: 244 kB / 0.7637 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.0004327/0.6453, allocations: 339.4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.6453, allocations: 8.031 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.6454, allocations: 4.938 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.6455, allocations: 168.3 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.6455, allocations: 8.375 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.6455, allocations: 384 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.304e-05/0.6456, allocations: 42 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.6456, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.6457, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.6457, allocations: 3.984 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.618e-05/0.6457, allocations: 8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.6459, allocations: 149.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.097e-05/0.646, allocations: 42.55 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.646, allocations: 12.92 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001895/0.6479, allocations: 0.6533 MB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.648, allocations: 38.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.648, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001739/0.6482, allocations: 49.59 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.6482, allocations: 59.28 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/0.6483, allocations: 97.84 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.6483, allocations: 25.83 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.6484, allocations: 88.12 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.6484, allocations: 11.84 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.6485, allocations: 13.72 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6486, allocations: 318.8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.6486, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.6487, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.6487, allocations: 16.86 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.6487, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.995e-05/0.6488, allocations: 49.69 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6488, allocations: 7.938 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.6488, allocations: 3.938 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6488, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/0.6489, allocations: 4 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6489, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.6489, allocations: 7.984 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.6489, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.886e-05/0.649, allocations: 105.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.6491, allocations: 11.94 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.6492, allocations: 57.12 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6492, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6492, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6492, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.6494, allocations: 153.6 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6494, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.6494, allocations: 15.94 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6494, allocations: 4.312 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.6494, allocations: 8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.6494, allocations: 3.984 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6494, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.623e-05/0.6495, allocations: 69.11 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.6496, allocations: 81.05 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.6496, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.59e-05/0.6496, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.6496, allocations: 3.938 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.6497, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.6497, allocations: 83.28 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6497, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002296/0.65, allocations: 31.92 kB / 1.022 GB, free: 13 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000262/0.6502, allocations: 131.8 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.729e-05/0.6503, allocations: 12 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6503, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.6503, allocations: 11.98 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.6505, allocations: 4.75 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.6508, allocations: 110.1 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.6512, allocations: 0.6768 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.219e-05/0.6512, allocations: 11.94 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.6513, allocations: 7.438 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.6513, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.003647/0.6549, allocations: 0.8962 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches