Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001544/0.001543, allocations: 109.9 kB / 16.41 MB, free: 6.508 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.001611/0.001611, allocations: 187 kB / 17.34 MB, free: 5.742 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.489/1.489, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8482/0.8495, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002215/0.8518, allocations: 1.281 MB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.8529, allocations: 0.7348 MB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.8529, allocations: 4 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.8529, allocations: 1.859 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.853, allocations: 4.5 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.8534, allocations: 91.03 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.8534, allocations: 17.7 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.8535, allocations: 2.359 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.8535, allocations: 4.766 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.8536, allocations: 12.94 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.8536, allocations: 0 / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.854, allocations: 145.5 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.854, allocations: 9.594 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.854, allocations: 8.469 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.8542, allocations: 96.95 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8542, allocations: 0.8438 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8542, allocations: 0 / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8542, allocations: 0.7188 kB / 1.091 GB, free: 4.004 MB / 0.8575 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.0002782/0.8545, allocations: 340.7 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.8546, allocations: 14.22 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.8546, allocations: 1.844 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.581e-05/0.8547, allocations: 171.4 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.8547, allocations: 1.531 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.8547, allocations: 9.281 kB / 1.092 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.135e-05/0.8548, allocations: 32.16 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.8548, allocations: 0 / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.8548, allocations: 1.062 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.8548, allocations: 0.7969 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.8549, allocations: 8.234 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.855, allocations: 158.3 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.497e-05/0.8551, allocations: 39.91 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.8551, allocations: 15.69 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/0.8569, allocations: 0.6538 MB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.857, allocations: 36.17 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.857, allocations: 0 / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001434/0.8571, allocations: 54.92 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.8572, allocations: 51.41 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.47e-05/0.8572, allocations: 99.11 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.8572, allocations: 29.64 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.403e-05/0.8572, allocations: 80.95 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.8573, allocations: 14.05 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.8573, allocations: 13.7 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.8574, allocations: 313.5 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.8574, allocations: 7.062 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.8574, allocations: 4.172 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.8574, allocations: 21.34 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8574, allocations: 0.9375 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.806e-05/0.8575, allocations: 55.53 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.8575, allocations: 5.031 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.8576, allocations: 0.75 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.8576, allocations: 0.7969 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.401e-05/0.8576, allocations: 5.781 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.8576, allocations: 0 / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.8577, allocations: 0.9062 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.8577, allocations: 2.078 kB / 1.093 GB, free: 1.965 MB / 0.8575 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 4.209e-05/0.8577, allocations: 119.1 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.8577, allocations: 5.922 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.8578, allocations: 58.86 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8579, allocations: 0.875 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.8579, allocations: 0 / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8579, allocations: 1.609 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.589e-05/0.8579, allocations: 152.2 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8579, allocations: 0.5938 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.858, allocations: 9.609 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.858, allocations: 0.8125 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.858, allocations: 5.25 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.858, allocations: 0.6875 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.858, allocations: 0 / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.38e-05/0.8581, allocations: 69.22 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.8581, allocations: 79.05 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.8581, allocations: 5.547 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.8581, allocations: 4.844 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.8582, allocations: 1.672 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.8582, allocations: 1.797 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.763e-05/0.8582, allocations: 86.08 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8582, allocations: 0 / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002464/0.8584, allocations: 31.45 kB / 1.094 GB, free: 1.324 MB / 0.8575 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.0002231/0.8587, allocations: 130.1 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.962e-05/0.8588, allocations: 20.09 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8588, allocations: 0.75 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.549e-05/0.8588, allocations: 7.016 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.859, allocations: 12.86 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.8592, allocations: 132.4 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.8594, allocations: 0.6788 MB / 1.095 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.8594, allocations: 9.562 kB / 1.095 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of SimCode: time 7.42e-07/0.8594, allocations: 0 / 1.095 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of Templates: time 0.002631/0.862, allocations: 0.9256 MB / 1.096 GB, free: 16.28 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches