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.005179/0.005179, allocations: 99.89 kB / 15.73 MB, free: 6.027 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.001131/0.001131, allocations: 187 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.392/2.392, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.03 kB / 0.9509 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2688, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002263/0.2712, allocations: 1.278 MB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2723, allocations: 0.7392 MB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.838e-05/0.2724, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.2724, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.2725, allocations: 11.91 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.2728, allocations: 83.98 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.2729, allocations: 23.86 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.2729, allocations: 11.98 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.798e-05/0.273, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.273, allocations: 7.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.273, allocations: 4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.2734, allocations: 148 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.2734, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.2734, allocations: 11.94 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.2736, allocations: 103.7 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2736, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2736, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.2736, allocations: 0 / 1.09 GB, free: 15.05 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.0003498/0.274, allocations: 335.6 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.274, allocations: 8.031 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.2741, allocations: 0.9375 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2742, allocations: 172.2 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.2742, allocations: 384 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.2742, allocations: 7.922 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.638e-05/0.2743, allocations: 41.62 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.2743, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.2743, allocations: 8 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2743, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.885e-05/0.2744, allocations: 7.984 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.2745, allocations: 153.7 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.319e-05/0.2746, allocations: 38.55 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.2747, allocations: 16.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001809/0.2765, allocations: 0.6611 MB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.2765, allocations: 30.56 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2765, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001912/0.2767, allocations: 49.69 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.2768, allocations: 51.41 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.2769, allocations: 97.86 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2769, allocations: 25.7 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.2769, allocations: 80.14 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.277, allocations: 3.906 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.277, allocations: 21.7 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2772, allocations: 315 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.2772, allocations: 7.938 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/0.2772, allocations: 4 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.2773, allocations: 20.84 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2773, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.065e-05/0.2774, allocations: 41.64 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2774, allocations: 8 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2774, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2774, allocations: 3.984 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.2775, allocations: 8 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.2775, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.2775, allocations: 7.938 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2776, allocations: 7.938 kB / 1.092 GB, free: 12.55 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 8.799e-05/0.2777, allocations: 115.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.2777, allocations: 3.906 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.2778, allocations: 57.45 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2778, allocations: 4.031 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2778, allocations: 7.984 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2779, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.278, allocations: 153.6 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.278, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.2781, allocations: 7.984 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2781, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2781, allocations: 4 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2781, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2781, allocations: 7.875 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.2782, allocations: 77.06 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.2783, allocations: 77.11 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2783, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.2783, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.2783, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.2784, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.455e-05/0.2784, allocations: 83.27 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2784, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002497/0.2787, allocations: 24 kB / 1.093 GB, free: 11.83 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.0003496/0.279, allocations: 136.7 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.2791, allocations: 15.92 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2792, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.2792, allocations: 12 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.2794, allocations: 11.88 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.2798, allocations: 106.1 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.2802, allocations: 0.6806 MB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.2802, allocations: 0 / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.2803, allocations: 11.44 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of SimCode: time 5.01e-07/0.2803, allocations: 0 / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of Templates: time 0.003453/0.2837, allocations: 0.9155 MB / 1.095 GB, free: 9.891 MB / 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