Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007189/0.007189, allocations: 97.44 kB / 15.73 MB, free: 6.039 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.001719/0.001719, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 75.86 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2754, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002235/0.2776, allocations: 1.296 MB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2787, allocations: 0.725 MB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.2787, allocations: 0 / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.2787, allocations: 4 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.291e-05/0.2788, allocations: 7.938 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.2791, allocations: 95.89 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.227e-05/0.2792, allocations: 15.88 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.2792, allocations: 3.984 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.2793, allocations: 8 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.52e-05/0.2793, allocations: 7.984 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.2793, allocations: 0 / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.2796, allocations: 148.1 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.2796, allocations: 3.938 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.2797, allocations: 7.984 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.2798, allocations: 111.7 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2798, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2798, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2798, allocations: 3.938 kB / 1.223 GB, free: 11.33 MB / 0.9825 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.0003489/0.2802, allocations: 329.3 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2802, allocations: 12.03 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.2803, allocations: 0.9375 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2804, allocations: 172.3 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.2804, allocations: 4.375 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.2804, allocations: 4.375 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.205e-05/0.2805, allocations: 41.98 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2805, allocations: 0 / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2805, allocations: 0 / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2805, allocations: 0 / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.2805, allocations: 15.98 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.2807, allocations: 149.7 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.562e-05/0.2808, allocations: 38.55 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.2808, allocations: 12.92 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/0.2826, allocations: 0.6572 MB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2826, allocations: 38.5 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2826, allocations: 0 / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001445/0.2827, allocations: 49.62 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.2828, allocations: 55.34 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.972e-05/0.2828, allocations: 97.8 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.2829, allocations: 25.7 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.2829, allocations: 84.27 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.2829, allocations: 7.953 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.2829, allocations: 17.7 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2831, allocations: 318.8 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.2831, allocations: 0 / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.366e-05/0.2831, allocations: 4 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/0.2831, allocations: 16.86 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2831, allocations: 0 / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.717e-05/0.2832, allocations: 53.58 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2832, allocations: 11.94 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2832, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2833, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.367e-05/0.2833, allocations: 7.984 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2833, allocations: 4 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.2833, allocations: 0 / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.2833, allocations: 0 / 1.225 GB, free: 8.836 MB / 0.9825 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.603e-05/0.2834, allocations: 110.3 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.2834, allocations: 7.938 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.2835, allocations: 61.12 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2835, allocations: 0 / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2836, allocations: 384 / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2836, allocations: 0 / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.2837, allocations: 153.7 kB / 1.225 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2837, allocations: 0 / 1.225 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.2837, allocations: 8 kB / 1.225 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.2837, allocations: 15.91 kB / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.2837, allocations: 0 / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2837, allocations: 0 / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2837, allocations: 4 kB / 1.225 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.516e-05/0.2838, allocations: 65.12 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.2838, allocations: 88.94 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2838, allocations: 4 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.265e-05/0.2839, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.2839, allocations: 7.875 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.2839, allocations: 0 / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.2839, allocations: 91.27 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.2839, allocations: 0 / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002319/0.2841, allocations: 23.94 kB / 1.226 GB, free: 8.105 MB / 0.9825 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.0002473/0.2844, allocations: 127.1 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.332e-05/0.2845, allocations: 20.08 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.2845, allocations: 0 / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.608e-05/0.2845, allocations: 8 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.2847, allocations: 1.125 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.285, allocations: 117.8 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.2852, allocations: 0.6768 MB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.2852, allocations: 4 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.2852, allocations: 15.44 kB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.2852, allocations: 0 / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of Templates: time 0.003074/0.2883, allocations: 0.9025 MB / 1.228 GB, free: 6.188 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches