Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001743/0.001743, allocations: 105.9 kB / 16.41 MB, free: 6.516 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.001848/0.001848, allocations: 188.2 kB / 17.34 MB, free: 5.738 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9/0.9013, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002308/0.9036, allocations: 1.292 MB / 1.169 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.9048, allocations: 0.7322 MB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.9048, allocations: 0 / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.9049, allocations: 0 / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.905, allocations: 11.92 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.9053, allocations: 95.91 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.9054, allocations: 19.92 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.288e-05/0.9055, allocations: 0 / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.001e-05/0.9055, allocations: 7.938 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.9055, allocations: 4 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.9056, allocations: 0 / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.9059, allocations: 152 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.9059, allocations: 0 / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.9059, allocations: 11.94 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.9061, allocations: 107.2 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9061, allocations: 0 / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9061, allocations: 4 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.9061, allocations: 0 / 1.17 GB, free: 1.398 MB / 0.8887 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.0003614/0.9065, allocations: 336.3 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.9066, allocations: 12.03 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.9066, allocations: 0.9375 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.9067, allocations: 164.3 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.9067, allocations: 384 / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.9067, allocations: 4.375 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.9068, allocations: 42 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.9069, allocations: 4 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.9069, allocations: 0 / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.9069, allocations: 0 / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.9069, allocations: 15.92 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.9071, allocations: 153.6 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.513e-05/0.9072, allocations: 30.61 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.9072, allocations: 16.92 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/0.9091, allocations: 0.6533 MB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.9091, allocations: 38.5 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 2.415e-06/0.9091, allocations: 3.984 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0001621/0.9093, allocations: 49.62 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.9093, allocations: 51.41 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.9094, allocations: 97.86 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.9094, allocations: 25.7 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.9094, allocations: 80.14 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.9095, allocations: 7.953 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.9095, allocations: 21.83 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.9096, allocations: 314.8 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.9097, allocations: 3.938 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.9097, allocations: 8 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.9097, allocations: 16.84 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9097, allocations: 0 / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.088e-05/0.9098, allocations: 45.64 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.9098, allocations: 7.938 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.9098, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.9099, allocations: 11.98 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.9099, allocations: 4 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.9099, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.9099, allocations: 3.953 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.91, allocations: 4 kB / 1.172 GB, free: 14.91 MB / 0.9044 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.292e-05/0.91, allocations: 109.8 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.91, allocations: 3.938 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.9102, allocations: 57.06 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.9102, allocations: 4 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.9102, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9102, allocations: 3.984 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.9103, allocations: 157.6 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.9103, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.9104, allocations: 7.984 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.9104, allocations: 3.938 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.9104, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.9104, allocations: 4 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9104, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.85e-05/0.9105, allocations: 73.12 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.9105, allocations: 85.05 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.9106, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.244e-05/0.9106, allocations: 3.938 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.9106, allocations: 432 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.9106, allocations: 4 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.637e-05/0.9107, allocations: 79.27 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9107, allocations: 4.094 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002355/0.9109, allocations: 31.94 kB / 1.172 GB, free: 14.17 MB / 0.9044 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.0002392/0.9111, allocations: 131 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.123e-05/0.9112, allocations: 15.98 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9112, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.648e-05/0.9113, allocations: 15.94 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.9115, allocations: 4.562 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.9117, allocations: 134.2 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.912, allocations: 0.6768 MB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.912, allocations: 7.438 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.912, allocations: 0 / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.002256/0.9143, allocations: 0.9155 MB / 1.174 GB, free: 12.21 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches