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.001211/0.00121, allocations: 102.2 kB / 16.27 MB, free: 6 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.001153/0.001153, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.24/2.24, allocations: 390.2 MB / 0.6653 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 70.36 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.267, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002623/0.2697, allocations: 1.276 MB / 0.9515 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.271, allocations: 0.7395 MB / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.271, allocations: 0 / 0.9523 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.271, allocations: 3.984 kB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.2711, allocations: 3.938 kB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.2715, allocations: 91.97 kB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.293e-05/0.2716, allocations: 19.86 kB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.2717, allocations: 7.938 kB / 0.9524 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.429e-05/0.2717, allocations: 8 kB / 0.9524 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.2718, allocations: 4 kB / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2718, allocations: 0 / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.2721, allocations: 148 kB / 0.9525 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.2721, allocations: 3.984 kB / 0.9525 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.2722, allocations: 11.94 kB / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.2724, allocations: 104.1 kB / 0.9526 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2724, allocations: 0 / 0.9526 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2724, allocations: 0 / 0.9526 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2724, allocations: 4 kB / 0.9527 GB, free: 6.402 MB / 0.7325 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.0003615/0.2728, allocations: 335.4 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2728, allocations: 8.031 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.2729, allocations: 4.938 kB / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.273, allocations: 160.4 kB / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.273, allocations: 4.375 kB / 0.9531 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.273, allocations: 16.05 kB / 0.9532 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.2731, allocations: 33.7 kB / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2731, allocations: 0 / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.2732, allocations: 0 / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2732, allocations: 0 / 0.9532 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.2732, allocations: 11.98 kB / 0.9532 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.2734, allocations: 157.7 kB / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.054e-05/0.2735, allocations: 34.52 kB / 0.9534 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.2735, allocations: 20.86 kB / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001852/0.2754, allocations: 0.6572 MB / 0.954 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2754, allocations: 34.56 kB / 0.9541 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.714e-06/0.2754, allocations: 0 / 0.9541 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001612/0.2756, allocations: 49.59 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.2756, allocations: 51.41 kB / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.2757, allocations: 97.8 kB / 0.9543 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.2757, allocations: 25.7 kB / 0.9543 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.2758, allocations: 84.27 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.2758, allocations: 11.89 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.2759, allocations: 17.66 kB / 0.9544 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.276, allocations: 318.8 kB / 0.9547 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.276, allocations: 4 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.306e-05/0.276, allocations: 4 kB / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.915e-05/0.2761, allocations: 20.84 kB / 0.9547 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2761, allocations: 0 / 0.9547 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.83e-05/0.2761, allocations: 53.94 kB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.2762, allocations: 8 kB / 0.9548 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2762, allocations: 0 / 0.9548 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2762, allocations: 0 / 0.9548 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.2763, allocations: 7.938 kB / 0.9548 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2763, allocations: 0 / 0.9548 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.2763, allocations: 4 kB / 0.9548 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.2763, allocations: 0 / 0.9548 GB, free: 3.902 MB / 0.7325 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 7.544e-05/0.2764, allocations: 105.8 kB / 0.9549 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.2764, allocations: 7.938 kB / 0.9549 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.2765, allocations: 65.08 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.2765, allocations: 0 / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.2766, allocations: 4 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2766, allocations: 0 / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.2767, allocations: 157.6 kB / 0.9551 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2767, allocations: 0 / 0.9551 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.2767, allocations: 4 kB / 0.9551 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2767, allocations: 4 kB / 0.9551 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2767, allocations: 3.938 kB / 0.9551 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2767, allocations: 0 / 0.9551 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2768, allocations: 4 kB / 0.9551 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.2769, allocations: 69.06 kB / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.2769, allocations: 84.98 kB / 0.9553 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.2769, allocations: 0 / 0.9553 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.273e-05/0.2769, allocations: 4 kB / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.277, allocations: 3.984 kB / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.277, allocations: 0 / 0.9553 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.277, allocations: 87.28 kB / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.277, allocations: 0 / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002415/0.2773, allocations: 24 kB / 0.9554 GB, free: 3.18 MB / 0.7325 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.0002499/0.2775, allocations: 131.2 kB / 0.9555 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.2776, allocations: 20.02 kB / 0.9555 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2776, allocations: 4 kB / 0.9556 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.2776, allocations: 8 kB / 0.9556 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.2778, allocations: 15.92 kB / 0.9556 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.2781, allocations: 129.9 kB / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.2784, allocations: 0.6729 MB / 0.9564 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.2784, allocations: 7.438 kB / 0.9564 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.2784, allocations: 7.938 kB / 0.9564 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of Templates: time 0.002349/0.2808, allocations: 0.9171 MB / 0.9573 GB, free: 1.211 MB / 0.7325 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