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.001145/0.001145, allocations: 105 kB / 16.41 MB, free: 6.465 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.001104/0.001104, allocations: 187 kB / 17.34 MB, free: 5.719 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8396/0.8409, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002256/0.8432, allocations: 1.292 MB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.8444, allocations: 0.7367 MB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.8444, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.8445, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.8445, allocations: 7.922 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.8449, allocations: 95.91 kB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.653e-05/0.845, allocations: 19.88 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.845, allocations: 4 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.246e-05/0.845, allocations: 7.984 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.014e-05/0.8451, allocations: 11.98 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.8451, allocations: 0 / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.8454, allocations: 144 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.8454, allocations: 7.938 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.8455, allocations: 4 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.8457, allocations: 99.78 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8457, allocations: 4 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8457, allocations: 0 / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.8457, allocations: 0 / 1.211 GB, free: 11.22 MB / 0.9356 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.0003318/0.846, allocations: 335.4 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8461, allocations: 12.03 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.8461, allocations: 4.844 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.8462, allocations: 164.4 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.8462, allocations: 384 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.8462, allocations: 4.375 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.058e-05/0.8463, allocations: 38.02 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.8464, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.8464, allocations: 7.984 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8464, allocations: 0 / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.8464, allocations: 11.94 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.8466, allocations: 155.5 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.454e-05/0.8467, allocations: 26.58 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.8467, allocations: 24.94 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001795/0.8485, allocations: 0.6494 MB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.8485, allocations: 46.44 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.8485, allocations: 4 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001511/0.8487, allocations: 49.62 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.8487, allocations: 51.41 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.8488, allocations: 97.84 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.8488, allocations: 25.7 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.8489, allocations: 80.14 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.8489, allocations: 15.84 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.8489, allocations: 13.66 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.849, allocations: 319 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.8491, allocations: 4 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.225e-05/0.8491, allocations: 7.984 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.8491, allocations: 16.86 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8491, allocations: 0 / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.897e-05/0.8492, allocations: 53.53 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.8492, allocations: 9.5 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.8492, allocations: 0 / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.8492, allocations: 0 / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.301e-05/0.8493, allocations: 8 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.8493, allocations: 4 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.8493, allocations: 0 / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.8493, allocations: 0 / 1.213 GB, free: 8.727 MB / 0.9356 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.595e-05/0.8494, allocations: 109.8 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.8494, allocations: 7.922 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.8496, allocations: 57.12 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.8496, allocations: 0 / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.8496, allocations: 0 / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8496, allocations: 4 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.8497, allocations: 149.7 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8497, allocations: 4 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.8497, allocations: 8 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8497, allocations: 3.938 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.8497, allocations: 3.938 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8498, allocations: 0 / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8498, allocations: 0 / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.8498, allocations: 77.44 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.8499, allocations: 81.05 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.8499, allocations: 7.984 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.212e-05/0.8499, allocations: 0 / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.8499, allocations: 48 / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.85, allocations: 3.984 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.869e-05/0.85, allocations: 79.28 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.85, allocations: 0 / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002465/0.8502, allocations: 35.94 kB / 1.214 GB, free: 8 MB / 0.9356 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.0002344/0.8505, allocations: 135.2 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.623e-05/0.8506, allocations: 12 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8506, allocations: 0 / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.471e-05/0.8506, allocations: 11.94 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.8508, allocations: 11.98 kB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.8511, allocations: 138.2 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.8513, allocations: 0.6729 MB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.8513, allocations: 11.44 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8513, allocations: 0 / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of Templates: time 0.002283/0.8536, allocations: 0.9094 MB / 1.215 GB, free: 6.035 MB / 0.9356 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