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.006104/0.006105, allocations: 101.7 kB / 15.88 MB, free: 5.863 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.001472/0.001472, allocations: 193.5 kB / 16.79 MB, free: 5.805 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.456/1.456, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 65.2 kB / 0.8991 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3288, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002636/0.3315, allocations: 1.343 MB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3328, allocations: 0.7756 MB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.3328, allocations: 3.938 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.3329, allocations: 7.984 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.965e-05/0.3329, allocations: 3.938 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.3333, allocations: 79.98 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.48e-05/0.3333, allocations: 11.94 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.3334, allocations: 4 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.3334, allocations: 7.984 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.3335, allocations: 7.938 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.3335, allocations: 0 / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.3339, allocations: 157 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.3339, allocations: 0 / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.3339, allocations: 11.92 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.3341, allocations: 68.19 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3341, allocations: 0 / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3341, allocations: 0 / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.3341, allocations: 0 / 1.055 GB, free: 5.789 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.0003865/0.3345, allocations: 339.5 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3346, allocations: 15.95 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.3346, allocations: 4.938 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.3347, allocations: 164.4 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.3348, allocations: 384 / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.3348, allocations: 384 / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.3349, allocations: 42 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3349, allocations: 0 / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3349, allocations: 0 / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3349, allocations: 4 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.335, allocations: 4 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.3351, allocations: 165.5 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.788e-05/0.3353, allocations: 38.55 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.3353, allocations: 12.92 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/0.3371, allocations: 0.6494 MB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3371, allocations: 34.5 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.3371, allocations: 0 / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001614/0.3373, allocations: 53.62 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.3373, allocations: 51.41 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.3374, allocations: 101.8 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3374, allocations: 29.7 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.3375, allocations: 84.08 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.3375, allocations: 3.906 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.3375, allocations: 17.72 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.3376, allocations: 310.8 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.3377, allocations: 7.984 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.3377, allocations: 11.94 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.468e-05/0.3377, allocations: 12.98 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3377, allocations: 0 / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.82e-05/0.3378, allocations: 49.91 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3378, allocations: 11.94 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3378, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3379, allocations: 48 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.3379, allocations: 7.984 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3379, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.3379, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.338, allocations: 4 kB / 1.057 GB, free: 3.293 MB / 0.8106 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 6.957e-05/0.338, allocations: 117.8 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.338, allocations: 7.844 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.3382, allocations: 53.12 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3382, allocations: 4 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3382, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3382, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.3383, allocations: 153.7 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3383, allocations: 0 / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.3383, allocations: 8 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3384, allocations: 3.938 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.3384, allocations: 0 / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3384, allocations: 4 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3384, allocations: 4 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.368e-05/0.3385, allocations: 69.12 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.3385, allocations: 88.97 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.3385, allocations: 0 / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.431e-05/0.3385, allocations: 8 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.3386, allocations: 4 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3386, allocations: 0 / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.3386, allocations: 79.22 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3386, allocations: 3.938 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002382/0.3389, allocations: 39.92 kB / 1.058 GB, free: 2.555 MB / 0.8106 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.0002675/0.3391, allocations: 127.3 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.114e-05/0.3392, allocations: 12 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3392, allocations: 0 / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.839e-05/0.3393, allocations: 11.98 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.3395, allocations: 4 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.3398, allocations: 147.1 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.34, allocations: 0.677 MB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.34, allocations: 11.42 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.34, allocations: 0 / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.002395/0.3424, allocations: 0.898 MB / 1.06 GB, free: 0.6055 MB / 0.8106 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