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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005014/0.005014, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.00117/0.00117, allocations: 199.3 kB / 16.68 MB, free: 5.918 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2754, allocations: 157.4 MB / 1.208 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002184/0.2776, allocations: 1.288 MB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2788, allocations: 0.7331 MB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.2788, allocations: 0 / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.2789, allocations: 0 / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.2789, allocations: 3.938 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.2793, allocations: 103.8 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.196e-05/0.2793, allocations: 15.94 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.2794, allocations: 7.984 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.2794, allocations: 4 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.267e-05/0.2795, allocations: 0 / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2795, allocations: 4 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.2798, allocations: 156 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.2798, allocations: 3.984 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.2798, allocations: 4 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.28, allocations: 103.8 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2801, allocations: 0 / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2801, allocations: 4 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.2801, allocations: 0 / 1.21 GB, free: 7.152 MB / 0.9669 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.000314/0.2804, allocations: 343.4 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2804, allocations: 8.031 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.2805, allocations: 4.938 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2806, allocations: 160.4 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.2806, allocations: 384 / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.2806, allocations: 384 / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.936e-05/0.2807, allocations: 42 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.2807, allocations: 0 / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2807, allocations: 8 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2807, allocations: 0 / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.2808, allocations: 15.97 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.2809, allocations: 153.6 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.533e-05/0.281, allocations: 38.55 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.2811, allocations: 12.92 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001895/0.283, allocations: 0.6533 MB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.283, allocations: 38.5 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 2.445e-06/0.283, allocations: 0 / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001395/0.2831, allocations: 61.5 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.2832, allocations: 51.41 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.575e-05/0.2833, allocations: 97.86 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.2833, allocations: 25.7 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.2833, allocations: 80.14 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.2833, allocations: 7.812 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.2834, allocations: 25.83 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2835, allocations: 310.8 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.2835, allocations: 4 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.2835, allocations: 4 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.2836, allocations: 16.86 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2836, allocations: 3.984 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.152e-05/0.2836, allocations: 45.64 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2837, allocations: 9.656 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2837, allocations: 3.984 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2837, allocations: 4 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.2837, allocations: 7.984 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.2838, allocations: 0 / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.2838, allocations: 4 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.2838, allocations: 0 / 1.212 GB, free: 4.648 MB / 0.9669 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.707e-05/0.2839, allocations: 109.8 kB / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.2839, allocations: 3.938 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.284, allocations: 61.12 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.284, allocations: 0 / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.284, allocations: 0 / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.284, allocations: 0 / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.2841, allocations: 157.7 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2841, allocations: 0 / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.2842, allocations: 7.984 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2842, allocations: 3.938 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2842, allocations: 4 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2842, allocations: 0 / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2842, allocations: 4.312 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.029e-05/0.2843, allocations: 73.11 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.2843, allocations: 88.89 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2844, allocations: 4 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.2844, allocations: 3.938 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.2844, allocations: 4 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2844, allocations: 7.938 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.093e-05/0.2844, allocations: 83.27 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2844, allocations: 4.094 kB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000226/0.2847, allocations: 24 kB / 1.213 GB, free: 3.914 MB / 0.9669 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.0002351/0.2849, allocations: 127.2 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.783e-05/0.285, allocations: 11.98 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.285, allocations: 4 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.285, allocations: 8 kB / 1.213 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.2852, allocations: 6.062 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.2855, allocations: 117.9 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2857, allocations: 0.6768 MB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.2857, allocations: 0 / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.2858, allocations: 15.44 kB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.2858, allocations: 0 / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of Templates: time 0.00303/0.2888, allocations: 0.9001 MB / 1.215 GB, free: 2.004 MB / 0.9669 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/jenkins/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