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.001736/0.001736, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002014/0.002014, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.338/1.338, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.526/2.526, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/0.5602, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002165/0.5624, allocations: 1.343 MB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.5634, allocations: 0.7648 MB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.308e-05/0.5634, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.5635, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.421e-05/0.5635, allocations: 7.938 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.5638, allocations: 71.98 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.056e-05/0.5638, allocations: 19.94 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.5639, allocations: 7.984 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.565e-05/0.5639, allocations: 4 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.801e-05/0.5639, allocations: 7.938 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.564, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.5642, allocations: 153 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.5643, allocations: 7.969 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.5643, allocations: 4 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.5645, allocations: 110.2 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.5645, allocations: 4 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.51e-07/0.5645, allocations: 0 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.5645, allocations: 4 kB / 1.019 GB, free: 288 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.000318/0.5648, allocations: 331.5 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.5649, allocations: 8.031 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.5649, allocations: 4.938 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.565, allocations: 160.4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.565, allocations: 4.312 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.565, allocations: 4.375 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.766e-05/0.5651, allocations: 46 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5651, allocations: 3.984 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.5652, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.5652, allocations: 3.938 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.5652, allocations: 11.92 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.5654, allocations: 149.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.048e-05/0.5655, allocations: 34.61 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.5655, allocations: 12.92 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/0.5672, allocations: 0.6572 MB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.5672, allocations: 42.5 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5672, allocations: 0 / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001407/0.5674, allocations: 53.53 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.5674, allocations: 51.41 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.299e-05/0.5675, allocations: 97.86 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.5675, allocations: 25.7 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.5675, allocations: 80.14 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.5676, allocations: 15.97 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.5676, allocations: 21.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5677, allocations: 310.8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.5677, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.5678, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.5678, allocations: 20.84 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5678, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.59e-05/0.5679, allocations: 45.64 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.5679, allocations: 10.44 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.5679, allocations: 4 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.5679, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.866e-05/0.568, allocations: 7.984 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.568, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.568, allocations: 4 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.568, allocations: 0 / 1.021 GB, free: 13.79 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.064e-05/0.5681, allocations: 110.4 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.5681, allocations: 11.84 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.5682, allocations: 61.06 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5682, allocations: 0 / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5683, allocations: 0 / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5683, allocations: 4.359 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.5684, allocations: 149.7 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5684, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.5684, allocations: 11.92 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5684, allocations: 3.938 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.5684, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5684, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5684, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.348e-05/0.5685, allocations: 69.11 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.5686, allocations: 84.98 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.5686, allocations: 8 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.205e-05/0.5686, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.5686, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.5686, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.5687, allocations: 87.27 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5687, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002189/0.5689, allocations: 27.94 kB / 1.022 GB, free: 13.05 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.0002337/0.5691, allocations: 131.2 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.768e-05/0.5692, allocations: 11.98 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5692, allocations: 4.094 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-05/0.5693, allocations: 11.94 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.5694, allocations: 8 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.5697, allocations: 107.8 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.5699, allocations: 0.677 MB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.57, allocations: 11.94 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.57, allocations: 7.438 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.57, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.003241/0.5732, allocations: 0.8894 MB / 1.024 GB, free: 11.15 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=480 -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