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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001451/0.001451, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001632/0.001632, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 65.19 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2482, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002328/0.2506, allocations: 1.29 MB / 0.9524 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2517, allocations: 0.7279 MB / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.2517, allocations: 0 / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.2518, allocations: 0 / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.432e-05/0.2518, allocations: 7.922 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.2522, allocations: 99.91 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.191e-05/0.2522, allocations: 15.92 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.2523, allocations: 0 / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.2523, allocations: 11.92 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.594e-05/0.2524, allocations: 8 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.2524, allocations: 0 / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.2527, allocations: 144.1 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.2527, allocations: 7.984 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.2527, allocations: 7.938 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2529, allocations: 107.8 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2529, allocations: 0 / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.136e-06/0.253, allocations: 0 / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.253, allocations: 7.875 kB / 0.9535 GB, free: 5.594 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.000337/0.2533, allocations: 335.4 kB / 0.9538 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2533, allocations: 8.031 kB / 0.9538 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.2534, allocations: 0.9375 kB / 0.9538 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.2535, allocations: 164.4 kB / 0.954 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.2535, allocations: 4.375 kB / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2535, allocations: 8.125 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.169e-05/0.2536, allocations: 33.69 kB / 0.954 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2536, allocations: 0 / 0.954 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.2536, allocations: 0 / 0.954 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.2537, allocations: 4 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.215e-05/0.2537, allocations: 11.98 kB / 0.954 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.2539, allocations: 153.6 kB / 0.9542 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.193e-05/0.254, allocations: 34.55 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.254, allocations: 20.86 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001763/0.2558, allocations: 0.665 MB / 0.9549 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2558, allocations: 34.56 kB / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2558, allocations: 0 / 0.9549 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001646/0.256, allocations: 57.53 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.256, allocations: 51.41 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.234e-05/0.2561, allocations: 89.86 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.2561, allocations: 29.7 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.2562, allocations: 84.27 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.2562, allocations: 7.906 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.2562, allocations: 17.7 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2563, allocations: 314.8 kB / 0.9555 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.2564, allocations: 4 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.2564, allocations: 7.938 kB / 0.9556 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.2564, allocations: 16.84 kB / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2564, allocations: 0 / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.782e-05/0.2565, allocations: 49.58 kB / 0.9556 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2565, allocations: 13.88 kB / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2565, allocations: 0 / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2566, allocations: 0 / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.2566, allocations: 7.984 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2566, allocations: 4 kB / 0.9556 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.477e-05/0.2567, allocations: 0 / 0.9556 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-06/0.2567, allocations: 4 kB / 0.9557 GB, free: 3.094 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 6.459e-05/0.2567, allocations: 105.8 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.2567, allocations: 3.938 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.2569, allocations: 68.97 kB / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2569, allocations: 4 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2569, allocations: 0 / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2569, allocations: 3.984 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.257, allocations: 149.6 kB / 0.956 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2571, allocations: 0 / 0.956 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.2571, allocations: 11.98 kB / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2571, allocations: 0 / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2571, allocations: 0 / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2571, allocations: 0 / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2571, allocations: 8 kB / 0.956 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.868e-05/0.2572, allocations: 69.06 kB / 0.9561 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.2573, allocations: 81.05 kB / 0.9561 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.2573, allocations: 0 / 0.9561 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.24e-05/0.2573, allocations: 432 / 0.9561 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.2573, allocations: 7.938 kB / 0.9561 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.2573, allocations: 0 / 0.9561 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.2574, allocations: 87.27 kB / 0.9562 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2574, allocations: 0 / 0.9562 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002462/0.2576, allocations: 28 kB / 0.9563 GB, free: 2.371 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.0002454/0.2579, allocations: 131.1 kB / 0.9564 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.799e-05/0.258, allocations: 24.08 kB / 0.9564 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.258, allocations: 0 / 0.9564 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.418e-05/0.258, allocations: 4 kB / 0.9564 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.2582, allocations: 7.938 kB / 0.9564 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.2585, allocations: 113.9 kB / 0.9565 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.2588, allocations: 0.6768 MB / 0.9572 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.2588, allocations: 11.94 kB / 0.9572 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.2589, allocations: 11.44 kB / 0.9572 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2589, allocations: 0 / 0.9572 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of Templates: time 0.003096/0.262, allocations: 0.8991 MB / 0.9581 GB, free: 456 kB / 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 -s cvode -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