Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001582/0.001582, allocations: 108.2 kB / 15.99 MB, free: 5.895 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.00156/0.00156, allocations: 193.9 kB / 16.91 MB, free: 5.746 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.484/1.484, allocations: 222.9 MB / 240.6 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.007/3.007, allocations: 482.4 MB / 0.755 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 66.27 kB / 0.924 GB, free: 29.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3476, allocations: 162.2 MB / 1.082 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.003238/0.3509, allocations: 1.364 MB / 1.084 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3523, allocations: 0.7368 MB / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.3523, allocations: 0 / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.3524, allocations: 0 / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.3525, allocations: 0 / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.3528, allocations: 76 kB / 1.085 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.005e-05/0.3529, allocations: 27.91 kB / 1.085 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/0.353, allocations: 0 / 1.085 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.353, allocations: 4 kB / 1.085 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.3531, allocations: 15.94 kB / 1.085 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.3531, allocations: 3.938 kB / 1.085 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.3534, allocations: 149 kB / 1.085 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.3534, allocations: 11.98 kB / 1.085 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.3535, allocations: 4 kB / 1.085 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.3536, allocations: 68.12 kB / 1.085 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3536, allocations: 0 / 1.085 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3536, allocations: 0 / 1.085 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.3537, allocations: 4 kB / 1.085 GB, free: 11.04 MB / 0.8419 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.000444/0.3541, allocations: 331.4 kB / 1.085 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3541, allocations: 12.03 kB / 1.085 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.3542, allocations: 4.938 kB / 1.085 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.3543, allocations: 164.4 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3544, allocations: 384 / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.3544, allocations: 384 / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.3545, allocations: 49.92 kB / 1.085 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3545, allocations: 0 / 1.085 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3545, allocations: 0 / 1.085 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3545, allocations: 0 / 1.085 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.918e-05/0.3546, allocations: 11.98 kB / 1.085 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.3548, allocations: 157.6 kB / 1.086 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.718e-05/0.3549, allocations: 34.61 kB / 1.086 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.3549, allocations: 8.922 kB / 1.086 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/0.3568, allocations: 0.665 MB / 1.086 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.3568, allocations: 46.38 kB / 1.086 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.3568, allocations: 0 / 1.086 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0001664/0.357, allocations: 45.69 kB / 1.086 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.3571, allocations: 55.41 kB / 1.086 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.3572, allocations: 93.86 kB / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3572, allocations: 25.7 kB / 1.086 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.3572, allocations: 84.14 kB / 1.087 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3573, allocations: 7.812 kB / 1.087 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.3573, allocations: 17.7 kB / 1.087 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3574, allocations: 314.8 kB / 1.087 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.3575, allocations: 4.125 kB / 1.087 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.3575, allocations: 11.94 kB / 1.087 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/0.3575, allocations: 20.84 kB / 1.087 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3575, allocations: 3.938 kB / 1.087 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.89e-05/0.3576, allocations: 41.7 kB / 1.087 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3576, allocations: 7.938 kB / 1.087 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3577, allocations: 0 / 1.087 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3577, allocations: 0 / 1.087 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.493e-05/0.3577, allocations: 7.984 kB / 1.087 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3577, allocations: 0 / 1.087 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.302e-05/0.3578, allocations: 4 kB / 1.087 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.3578, allocations: 4 kB / 1.087 GB, free: 8.543 MB / 0.8419 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.907e-05/0.3579, allocations: 109.8 kB / 1.087 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.3579, allocations: 7.938 kB / 1.087 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.358, allocations: 53.19 kB / 1.087 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.358, allocations: 0 / 1.087 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.358, allocations: 384 / 1.087 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.358, allocations: 0 / 1.087 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3582, allocations: 153.7 kB / 1.087 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3582, allocations: 4 kB / 1.087 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.3582, allocations: 7.984 kB / 1.087 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3582, allocations: 7.922 kB / 1.087 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3582, allocations: 7.938 kB / 1.087 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3582, allocations: 4 kB / 1.087 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3582, allocations: 0 / 1.087 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.3583, allocations: 73.06 kB / 1.087 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.3584, allocations: 88.89 kB / 1.087 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.3584, allocations: 4 kB / 1.087 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.169e-05/0.3584, allocations: 4 kB / 1.087 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.3585, allocations: 0 / 1.087 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.3585, allocations: 4 kB / 1.087 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.507e-05/0.3585, allocations: 83.27 kB / 1.088 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3585, allocations: 0 / 1.088 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002259/0.3588, allocations: 24 kB / 1.088 GB, free: 7.816 MB / 0.8419 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.0002802/0.359, allocations: 131.3 kB / 1.088 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.621e-05/0.3591, allocations: 23.86 kB / 1.088 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3591, allocations: 0 / 1.088 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.3592, allocations: 8 kB / 1.088 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.3594, allocations: 11.09 kB / 1.088 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.3597, allocations: 135.7 kB / 1.088 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.36, allocations: 0.6768 MB / 1.089 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.36, allocations: 11.44 kB / 1.089 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3601, allocations: 0 / 1.089 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of Templates: time 0.002657/0.3627, allocations: 0.9016 MB / 1.089 GB, free: 5.852 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches