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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00816/0.00816, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004825, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6595, allocations: 142.4 MB / 0.955 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001307/0.6608, allocations: 1.01 MB / 0.956 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.6621, allocations: 0.7526 MB / 0.9568 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.6621, allocations: 0 / 0.9568 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.6621, allocations: 0 / 0.9568 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.6622, allocations: 12.8 kB / 0.9568 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.6625, allocations: 66.41 kB / 0.9568 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.284e-05/0.6626, allocations: 19.95 kB / 0.9569 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.6627, allocations: 5.422 kB / 0.9569 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.6627, allocations: 15.97 kB / 0.9569 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.6628, allocations: 4.125 kB / 0.9569 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.6628, allocations: 0 / 0.9569 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.6631, allocations: 153.7 kB / 0.957 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.6632, allocations: 1.469 kB / 0.957 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.6632, allocations: 32.58 kB / 0.9571 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.6634, allocations: 103.2 kB / 0.9572 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.6634, allocations: 1.844 kB / 0.9572 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6634, allocations: 3.938 kB / 0.9572 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6634, allocations: 4 kB / 0.9572 GB, free: 6.156 MB / 0.7169 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.0003259/0.6638, allocations: 334.5 kB / 0.9575 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.6638, allocations: 9 kB / 0.9575 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.6639, allocations: 2.875 kB / 0.9575 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.484e-05/0.664, allocations: 166.4 kB / 0.9577 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.664, allocations: 4.359 kB / 0.9577 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.664, allocations: 8.125 kB / 0.9577 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.873e-05/0.6641, allocations: 31.48 kB / 0.9577 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6641, allocations: 0 / 0.9577 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.6641, allocations: 4 kB / 0.9577 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6641, allocations: 0 / 0.9577 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.6642, allocations: 14.73 kB / 0.9577 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.6643, allocations: 153.5 kB / 0.9579 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.511e-05/0.6644, allocations: 35.86 kB / 0.9579 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.6645, allocations: 15.55 kB / 0.9579 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002446/0.6669, allocations: 1.037 MB / 0.9589 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.667, allocations: 35.94 kB / 0.959 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.667, allocations: 3.984 kB / 0.959 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000166/0.6671, allocations: 47.44 kB / 0.959 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.6672, allocations: 55.34 kB / 0.9591 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.6672, allocations: 96.61 kB / 0.9592 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.6673, allocations: 27.08 kB / 0.9592 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.366e-05/0.6673, allocations: 80.14 kB / 0.9593 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.6673, allocations: 13.19 kB / 0.9593 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.6673, allocations: 15.08 kB / 0.9593 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.6674, allocations: 310.8 kB / 0.9596 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.6674, allocations: 2.75 kB / 0.9596 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.6674, allocations: 8.125 kB / 0.9596 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.6675, allocations: 11.73 kB / 0.9596 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6675, allocations: 8.062 kB / 0.9596 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.649e-05/0.6675, allocations: 48.62 kB / 0.9597 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6676, allocations: 13.38 kB / 0.9597 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6676, allocations: 4 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6676, allocations: 1.375 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.6677, allocations: 8.109 kB / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6677, allocations: 1.375 kB / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.6677, allocations: 3.938 kB / 0.9597 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.6677, allocations: 5.375 kB / 0.9597 GB, free: 3.781 MB / 0.7169 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 5.025e-05/0.6678, allocations: 111.2 kB / 0.9598 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-06/0.6678, allocations: 5.312 kB / 0.9598 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.6679, allocations: 49.56 kB / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6679, allocations: 0 / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6679, allocations: 1.375 kB / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6679, allocations: 0 / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.862e-05/0.668, allocations: 157.7 kB / 0.96 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.668, allocations: 3.938 kB / 0.96 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.668, allocations: 9.484 kB / 0.96 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.668, allocations: 4 kB / 0.96 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.6681, allocations: 1.375 kB / 0.96 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6681, allocations: 0 / 0.96 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6681, allocations: 0 / 0.96 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.194e-05/0.6681, allocations: 77.34 kB / 0.9601 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.6682, allocations: 78.48 kB / 0.9602 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.6682, allocations: 1.375 kB / 0.9602 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.201e-05/0.6682, allocations: 0 / 0.9602 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.6682, allocations: 5.797 kB / 0.9602 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.6682, allocations: 1.375 kB / 0.9602 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.818e-05/0.6683, allocations: 80.64 kB / 0.9603 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6683, allocations: 0 / 0.9603 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002404/0.6685, allocations: 31.38 kB / 0.9603 GB, free: 3.137 MB / 0.7169 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.0002313/0.6687, allocations: 136.2 kB / 0.9604 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.048e-05/0.6688, allocations: 17.55 kB / 0.9604 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6688, allocations: 0 / 0.9604 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.6689, allocations: 14.81 kB / 0.9605 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.6691, allocations: 6.688 kB / 0.9605 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.6693, allocations: 118 kB / 0.9606 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.376e-05/0.6694, allocations: 0.6772 MB / 0.9612 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.6694, allocations: 2.75 kB / 0.9612 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.6694, allocations: 8.812 kB / 0.9612 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6695, allocations: 0 / 0.9612 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of Templates: time 0.002965/0.6724, allocations: 0.8767 MB / 0.9621 GB, free: 1.719 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches