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.001227/0.001227, allocations: 103.3 kB / 16.41 MB, free: 6.5 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.001237/0.001237, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.15 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.562/2.562, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 67.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9287/0.9302, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002633/0.9329, allocations: 1.288 MB / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.9342, allocations: 0.7438 MB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.131e-05/0.9343, allocations: 0 / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.9343, allocations: 0 / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.9344, allocations: 7.922 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.9348, allocations: 83.98 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.622e-05/0.9349, allocations: 31.84 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.9349, allocations: 0 / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.043e-05/0.935, allocations: 7.938 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.935, allocations: 4 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.9351, allocations: 4 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.9354, allocations: 144 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.9354, allocations: 4 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.9355, allocations: 15.92 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.9357, allocations: 99.78 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9357, allocations: 3.938 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9357, allocations: 4 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.9357, allocations: 0 / 1.17 GB, free: 1.406 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.0004039/0.9361, allocations: 335.4 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.9362, allocations: 8.031 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.9362, allocations: 4.844 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.9363, allocations: 168.4 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.9364, allocations: 4.312 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.9364, allocations: 384 / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.9365, allocations: 42 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.9365, allocations: 4 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.9365, allocations: 0 / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.9365, allocations: 4 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.993e-05/0.9366, allocations: 7.984 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.9368, allocations: 151.5 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.9369, allocations: 38.55 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/0.9369, allocations: 8.922 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00173/0.9386, allocations: 0.6572 MB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.9387, allocations: 38.5 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.9387, allocations: 0 / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.000168/0.9389, allocations: 49.69 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.9389, allocations: 51.41 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.939, allocations: 93.86 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.939, allocations: 29.7 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.939, allocations: 84.08 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.9391, allocations: 7.844 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.9391, allocations: 25.83 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.9392, allocations: 310.8 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.9393, allocations: 7.938 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.315e-05/0.9393, allocations: 4 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.784e-05/0.9393, allocations: 16.84 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9393, allocations: 4 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.523e-05/0.9394, allocations: 41.61 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.9394, allocations: 11.94 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.9394, allocations: 0 / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.9395, allocations: 7.984 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.9395, allocations: 7.938 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.9395, allocations: 0 / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.9396, allocations: 0 / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.9396, allocations: 4 kB / 1.172 GB, free: 14.92 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 6.473e-05/0.9396, allocations: 109.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.9397, allocations: 4.266 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.9398, allocations: 57.11 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.9398, allocations: 8 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9398, allocations: 3.984 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.9398, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.9399, allocations: 149.7 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9399, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.94, allocations: 11.92 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.94, allocations: 3.938 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.94, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.94, allocations: 8 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.94, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.089e-05/0.9401, allocations: 73.12 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.9401, allocations: 81.05 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.9402, allocations: 0 / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.248e-05/0.9402, allocations: 0 / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.9402, allocations: 4 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.9402, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.9402, allocations: 79.27 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9403, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002314/0.9405, allocations: 36.03 kB / 1.172 GB, free: 14.19 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.0002521/0.9407, allocations: 135.2 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.085e-05/0.9408, allocations: 15.92 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9409, allocations: 0 / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.9409, allocations: 16 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.9411, allocations: 1.125 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.9414, allocations: 139.6 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.9417, allocations: 0.6768 MB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.9417, allocations: 7.438 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9417, allocations: 3.938 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of Templates: time 0.002487/0.9442, allocations: 0.9225 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