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.001624/0.001624, allocations: 107.4 kB / 15.34 MB, free: 0.4961 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.001579/0.001579, allocations: 191.8 kB / 16.25 MB, free: 6.645 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.838/2.838, allocations: 469.8 MB / 0.742 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 75.14 kB / 0.9081 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2875, allocations: 159.1 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00246/0.29, allocations: 1.353 MB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2912, allocations: 0.7386 MB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.401e-05/0.2912, allocations: 3.938 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.2913, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-05/0.2913, allocations: 7.984 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.2916, allocations: 76 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.83e-05/0.2917, allocations: 15.94 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.2917, allocations: 3.984 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.2918, allocations: 7.984 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.2918, allocations: 11.88 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.2918, allocations: 4 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.2921, allocations: 153 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.2922, allocations: 3.984 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.2922, allocations: 8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2924, allocations: 100.5 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2924, allocations: 0 / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2924, allocations: 0 / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2924, allocations: 0 / 1.066 GB, free: 12.11 MB / 0.8262 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.0003789/0.2928, allocations: 335.5 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2928, allocations: 12.03 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.2929, allocations: 4.922 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.293, allocations: 168.3 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.293, allocations: 384 / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.293, allocations: 4.312 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.791e-05/0.2931, allocations: 45.94 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2932, allocations: 0 / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.2932, allocations: 0 / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2932, allocations: 4 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.697e-05/0.2932, allocations: 7.984 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.2934, allocations: 157.6 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.204e-05/0.2935, allocations: 34.61 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.2936, allocations: 12.86 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001795/0.2954, allocations: 0.665 MB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2954, allocations: 34.5 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2954, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001462/0.2956, allocations: 49.69 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.2956, allocations: 55.41 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.2957, allocations: 97.86 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.2957, allocations: 25.7 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.2958, allocations: 80.14 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.2958, allocations: 3.906 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.2958, allocations: 21.7 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.296, allocations: 310.8 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.296, allocations: 7.938 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.296, allocations: 8.125 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.2961, allocations: 20.84 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2961, allocations: 0 / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.808e-05/0.2961, allocations: 37.7 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2962, allocations: 11.94 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2962, allocations: 0 / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2962, allocations: 3.984 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.497e-05/0.2962, allocations: 4 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2962, allocations: 0 / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.2963, allocations: 7.844 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2963, allocations: 8.328 kB / 1.068 GB, free: 9.609 MB / 0.8262 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 8.375e-05/0.2964, allocations: 109.8 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.2964, allocations: 3.938 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.2965, allocations: 57.11 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2965, allocations: 4 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2965, allocations: 3.984 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2965, allocations: 0 / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.2967, allocations: 153.7 kB / 1.068 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2967, allocations: 4 kB / 1.068 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.2967, allocations: 7.984 kB / 1.068 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2967, allocations: 3.938 kB / 1.068 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.2967, allocations: 0 / 1.068 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2967, allocations: 4 kB / 1.068 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2967, allocations: 3.938 kB / 1.068 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.824e-05/0.2968, allocations: 69.06 kB / 1.068 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.2969, allocations: 88.98 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.2969, allocations: 4 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.183e-05/0.2969, allocations: 0 / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.2969, allocations: 4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.297, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.297, allocations: 79.27 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.297, allocations: 4 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002239/0.2972, allocations: 24 kB / 1.069 GB, free: 8.891 MB / 0.8262 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.0002542/0.2975, allocations: 135.3 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.644e-05/0.2976, allocations: 15.92 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2976, allocations: 0 / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.988e-05/0.2976, allocations: 12 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.2978, allocations: 0 / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.2981, allocations: 127.3 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2984, allocations: 0.6768 MB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.2984, allocations: 7.938 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.2984, allocations: 7.438 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2985, allocations: 0 / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of Templates: time 0.003387/0.3018, allocations: 0.8978 MB / 1.07 GB, free: 6.965 MB / 0.8262 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=400 -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