Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008214/0.0008215, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 183.6 kB / 16.92 MB, free: 6.922 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.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.792/2.792, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003884, allocations: 9.562 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3203, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001457/0.3219, allocations: 1.01 MB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3232, allocations: 0.7641 MB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.945e-05/0.3232, allocations: 0 / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.3232, allocations: 0 / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.022e-05/0.3233, allocations: 7.875 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.3237, allocations: 79.92 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.375e-05/0.3237, allocations: 23.92 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.3238, allocations: 0 / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.3238, allocations: 4 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.3239, allocations: 4 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.3239, allocations: 3.938 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.3242, allocations: 161 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.3243, allocations: 0 / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.3243, allocations: 33.7 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.3245, allocations: 64.17 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3245, allocations: 4 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.318e-06/0.3245, allocations: 0 / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3245, allocations: 7.938 kB / 1.061 GB, free: 2.766 MB / 0.8106 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.0003497/0.3249, allocations: 331.5 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3249, allocations: 15.97 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.3249, allocations: 0.9375 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3251, allocations: 160.4 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3251, allocations: 4.375 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.3251, allocations: 384 / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3252, allocations: 46 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.3252, allocations: 0 / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3253, allocations: 4 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3253, allocations: 3.984 kB / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.565e-05/0.3253, allocations: 11.98 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.3255, allocations: 153.6 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/0.3256, allocations: 38.55 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.3256, allocations: 16.92 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002478/0.3281, allocations: 1.027 MB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3281, allocations: 38.5 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3282, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001469/0.3283, allocations: 53.53 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3284, allocations: 55.41 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.229e-05/0.3284, allocations: 101.8 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.3284, allocations: 25.7 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.3285, allocations: 80.14 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.3285, allocations: 7.906 kB / 1.064 GB, free: 348 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.3286, allocations: 9.719 kB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3287, allocations: 314.8 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.3287, allocations: 7.984 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-06/0.3287, allocations: 128 / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.3288, allocations: 21.19 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3288, allocations: 0 / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.679e-05/0.3289, allocations: 53.56 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3289, allocations: 7.938 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3289, allocations: 7.938 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3289, allocations: 0 / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.329, allocations: 4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.329, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.329, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.329, allocations: 0 / 1.064 GB, free: 15.89 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 7.646e-05/0.3291, allocations: 121.8 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.3291, allocations: 3.938 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.3292, allocations: 57.03 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3292, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3293, allocations: 4 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3293, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.3294, allocations: 153.7 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3294, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.3294, allocations: 8 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3294, allocations: 7.969 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.3294, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3294, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3294, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.594e-05/0.3295, allocations: 69.12 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.3296, allocations: 85.03 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.3296, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.472e-05/0.3296, allocations: 4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.3296, allocations: 4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.3296, allocations: 7.938 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.07e-05/0.3297, allocations: 75.28 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3297, allocations: 0 / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002347/0.3299, allocations: 35.92 kB / 1.065 GB, free: 15.17 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.0002602/0.3302, allocations: 127.3 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.548e-05/0.3303, allocations: 16 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3303, allocations: 3.938 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.3303, allocations: 7.984 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.3305, allocations: 11.94 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.3308, allocations: 146.1 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.3311, allocations: 0.677 MB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.3311, allocations: 11.44 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3311, allocations: 0 / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of Templates: time 0.002503/0.3336, allocations: 0.9024 MB / 1.066 GB, free: 13.21 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches