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.00179/0.00179, allocations: 108 kB / 15.6 MB, free: 132 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.002012/0.002012, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.479/1.479, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.761/2.761, allocations: 437 MB / 0.7104 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5994/0.6014, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002486/0.6039, allocations: 1.272 MB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.6052, allocations: 0.7336 MB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.831e-05/0.6053, allocations: 0 / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.6053, allocations: 3.984 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.6054, allocations: 3.938 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.6057, allocations: 87.97 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.94e-05/0.6058, allocations: 27.8 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.6058, allocations: 4 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.6059, allocations: 4 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.6059, allocations: 4 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.6059, allocations: 0 / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.6063, allocations: 152 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.6063, allocations: 7.922 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.6063, allocations: 8 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.6066, allocations: 101.8 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6066, allocations: 4 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6066, allocations: 0 / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.6066, allocations: 4 kB / 1.02 GB, free: 68 kB / 0.7637 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.0004403/0.607, allocations: 337 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6071, allocations: 8.031 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.6071, allocations: 4.938 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.6073, allocations: 168.3 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.6073, allocations: 384 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.6073, allocations: 384 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.6074, allocations: 50.02 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.6074, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.6075, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.6075, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.181e-05/0.6075, allocations: 7.984 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.6077, allocations: 153.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.055e-05/0.6078, allocations: 38.5 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.6079, allocations: 20.91 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/0.6098, allocations: 0.6494 MB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.6098, allocations: 42.5 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6098, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001577/0.61, allocations: 49.59 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.6101, allocations: 51.41 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.6101, allocations: 105.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.6102, allocations: 25.7 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.6102, allocations: 80.14 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.6103, allocations: 15.95 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.6103, allocations: 17.72 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6104, allocations: 314.8 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.6105, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.6105, allocations: 11.98 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.6105, allocations: 12.86 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6105, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.785e-05/0.6106, allocations: 45.69 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.6106, allocations: 7.938 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.6107, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.6107, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.741e-05/0.6107, allocations: 7.938 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6108, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.414e-05/0.6108, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.6108, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 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 9.387e-05/0.6109, allocations: 105.8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.6109, allocations: 7.938 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.6111, allocations: 57.17 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.6111, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.6111, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6111, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.6113, allocations: 157.6 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6113, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.6113, allocations: 7.938 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.6113, allocations: 7.938 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.6113, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6113, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6113, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.6115, allocations: 73.5 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.6115, allocations: 81.05 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.6116, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.6116, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.6116, allocations: 8.016 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.6116, allocations: 3.938 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.181e-05/0.6117, allocations: 87.22 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6117, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002545/0.612, allocations: 31.94 kB / 1.022 GB, free: 12.83 MB / 0.7794 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.0003143/0.6123, allocations: 131.2 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.6124, allocations: 11.98 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6124, allocations: 4.094 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.6125, allocations: 12 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.6127, allocations: 7.984 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.6131, allocations: 108.1 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.6135, allocations: 0.6729 MB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.861e-05/0.6135, allocations: 8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.6136, allocations: 7.438 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6136, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.004148/0.6177, allocations: 0.8915 MB / 1.024 GB, free: 10.93 MB / 0.7794 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=400 -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/jenkins/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