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.005699/0.005699, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001191/0.001191, allocations: 191.9 kB / 16.67 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.29/2.29, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.8006, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002447/0.8032, allocations: 1.298 MB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.8044, allocations: 0.7285 MB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.8044, allocations: 0 / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.8044, allocations: 0.5625 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.942e-05/0.8045, allocations: 5.641 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.805, allocations: 91.39 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.834e-05/0.805, allocations: 21.61 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.8051, allocations: 1.719 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.8051, allocations: 5.078 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.8052, allocations: 16.19 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.8052, allocations: 0.8438 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.8056, allocations: 141.1 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.8056, allocations: 5.906 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.8056, allocations: 7.812 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.8059, allocations: 102.7 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8059, allocations: 0 / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8059, allocations: 4 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8059, allocations: 0 / 1.09 GB, free: 4.008 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.0002966/0.8062, allocations: 333.9 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.8062, allocations: 13.53 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.8063, allocations: 2.734 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.044e-05/0.8064, allocations: 173.8 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.8064, allocations: 2.047 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.8064, allocations: 5.094 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.013e-05/0.8065, allocations: 36.38 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.8065, allocations: 9.078 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.8065, allocations: 0 / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.8065, allocations: 5.031 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.223e-05/0.8066, allocations: 7.828 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.8067, allocations: 153.9 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.225e-05/0.8068, allocations: 39.83 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.8068, allocations: 14.14 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001822/0.8086, allocations: 0.6583 MB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.8087, allocations: 35.59 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.8087, allocations: 0 / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001685/0.8088, allocations: 51.05 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.8089, allocations: 52.95 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.375e-05/0.8089, allocations: 93.41 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/0.8089, allocations: 30.36 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.325e-05/0.8089, allocations: 80.92 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.809, allocations: 10.3 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.809, allocations: 17.97 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.087e-05/0.8091, allocations: 312.9 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.8091, allocations: 7.062 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.296e-05/0.8091, allocations: 4.141 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.545e-05/0.8091, allocations: 17.62 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8091, allocations: 0.7188 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.922e-05/0.8092, allocations: 47.78 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8092, allocations: 5.328 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.8092, allocations: 0.7812 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.8093, allocations: 4.875 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/0.8093, allocations: 13.11 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.8093, allocations: 0 / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.537e-05/0.8094, allocations: 1.688 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.8094, allocations: 0.875 kB / 1.092 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.101e-05/0.8094, allocations: 116.2 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.8094, allocations: 2.234 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.8095, allocations: 57.25 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8095, allocations: 1.172 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8096, allocations: 4.656 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.8096, allocations: 1.688 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.27e-05/0.8096, allocations: 156.8 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8096, allocations: 0 / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.8097, allocations: 9.234 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8097, allocations: 0.7188 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.8097, allocations: 5.75 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8097, allocations: 4 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.8097, allocations: 0.9062 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.584e-05/0.8098, allocations: 77.23 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.443e-05/0.8098, allocations: 82.67 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.8098, allocations: 1.625 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.8098, allocations: 0.7188 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.8099, allocations: 2.547 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.8099, allocations: 0.9062 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.791e-05/0.8099, allocations: 77.42 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8099, allocations: 4.969 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002479/0.8101, allocations: 32.38 kB / 1.093 GB, free: 1.32 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.0002194/0.8104, allocations: 124.7 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.895e-05/0.8105, allocations: 21.2 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8105, allocations: 4 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.727e-05/0.8105, allocations: 6.469 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.8107, allocations: 10.33 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.8109, allocations: 100.3 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.329e-05/0.811, allocations: 0.6755 MB / 1.094 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.8111, allocations: 10.58 kB / 1.094 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.8111, allocations: 17.62 kB / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.8111, allocations: 0 / 1.094 GB, free: 396 kB / 0.8575 GB Notification: Performance of Templates: time 0.003329/0.8144, allocations: 0.9109 MB / 1.095 GB, free: 276 kB / 0.8575 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