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.001418/0.001418, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001767/0.001767, allocations: 194.1 kB / 16.13 MB, free: 6.656 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.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.304/2.304, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6864/0.6882, allocations: 140.4 MB / 0.9489 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002237/0.6905, allocations: 1.346 MB / 0.9502 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.6915, allocations: 0.7675 MB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.44e-05/0.6915, allocations: 0 / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.6915, allocations: 0 / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.6916, allocations: 5.266 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.6919, allocations: 70.5 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.08e-05/0.692, allocations: 15.75 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.979e-05/0.692, allocations: 5.516 kB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.188e-05/0.692, allocations: 12.06 kB / 0.9511 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.6921, allocations: 7.203 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.6921, allocations: 5.25 kB / 0.9511 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.6924, allocations: 149 kB / 0.9513 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.6924, allocations: 5.266 kB / 0.9513 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.6925, allocations: 6.844 kB / 0.9513 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.6927, allocations: 107.9 kB / 0.9514 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6927, allocations: 7.938 kB / 0.9514 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.42e-07/0.6927, allocations: 0 / 0.9514 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.6927, allocations: 1.406 kB / 0.9514 GB, free: 7.324 MB / 0.7169 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.0002549/0.693, allocations: 336.4 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.693, allocations: 10.34 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.693, allocations: 0.9375 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.607e-05/0.6931, allocations: 165.6 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.6931, allocations: 1.656 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.6931, allocations: 5.312 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.752e-05/0.6932, allocations: 42.47 kB / 0.9519 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.6932, allocations: 0 / 0.9519 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.6932, allocations: 0 / 0.9519 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6932, allocations: 1.375 kB / 0.9519 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.6933, allocations: 13.39 kB / 0.9519 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.6934, allocations: 149.6 kB / 0.9521 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.359e-05/0.6935, allocations: 33.98 kB / 0.9521 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.6935, allocations: 19.05 kB / 0.9521 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/0.6951, allocations: 0.6642 MB / 0.9528 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.6951, allocations: 34.56 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.6951, allocations: 0 / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001303/0.6952, allocations: 46.94 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.6953, allocations: 52.47 kB / 0.9529 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.762e-05/0.6953, allocations: 92.86 kB / 0.953 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.6953, allocations: 25.7 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.197e-05/0.6953, allocations: 85.3 kB / 0.9531 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.6954, allocations: 16.78 kB / 0.9531 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.6954, allocations: 16.92 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.531e-05/0.6954, allocations: 316 kB / 0.9534 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.6954, allocations: 2.844 kB / 0.9534 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.6955, allocations: 7.156 kB / 0.9534 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/0.6955, allocations: 20.28 kB / 0.9535 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6955, allocations: 0 / 0.9535 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.219e-05/0.6956, allocations: 49.02 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6956, allocations: 6.531 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.6956, allocations: 4 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.6956, allocations: 0.9062 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.791e-05/0.6957, allocations: 9.219 kB / 0.9535 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.6957, allocations: 0 / 0.9535 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.6957, allocations: 1.562 kB / 0.9535 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.6957, allocations: 0 / 0.9535 GB, free: 5.172 MB / 0.7169 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 3.748e-05/0.6957, allocations: 111.3 kB / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.6958, allocations: 9.156 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.527e-05/0.6959, allocations: 61.67 kB / 0.9537 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.6959, allocations: 1.031 kB / 0.9537 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6959, allocations: 1.25 kB / 0.9537 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6959, allocations: 0 / 0.9537 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.701e-05/0.696, allocations: 157.2 kB / 0.9538 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.696, allocations: 0 / 0.9538 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.696, allocations: 8.672 kB / 0.9539 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.696, allocations: 1.312 kB / 0.9539 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.696, allocations: 0 / 0.9539 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.696, allocations: 5.219 kB / 0.9539 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.696, allocations: 4 kB / 0.9539 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.585e-05/0.6961, allocations: 77.53 kB / 0.9539 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.6961, allocations: 78.33 kB / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.6961, allocations: 0 / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.6961, allocations: 0.9688 kB / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.6962, allocations: 1.188 kB / 0.954 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.6962, allocations: 5.219 kB / 0.954 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.783e-05/0.6962, allocations: 85.86 kB / 0.9541 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6962, allocations: 0 / 0.9541 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002298/0.6964, allocations: 29.69 kB / 0.9541 GB, free: 4.508 MB / 0.7169 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.0002107/0.6966, allocations: 120.8 kB / 0.9542 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.15e-05/0.6967, allocations: 22.55 kB / 0.9543 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6967, allocations: 7.938 kB / 0.9543 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.506e-05/0.6968, allocations: 6.5 kB / 0.9543 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.6969, allocations: 10.38 kB / 0.9543 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/0.6972, allocations: 106.7 kB / 0.9544 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.872e-05/0.6973, allocations: 0.6761 MB / 0.9551 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.6973, allocations: 12.19 kB / 0.9551 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.6973, allocations: 9 kB / 0.9551 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6973, allocations: 0 / 0.9551 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of Templates: time 0.003115/0.7004, allocations: 0.8856 MB / 0.9559 GB, free: 3.098 MB / 0.7169 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/jenkins/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