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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00154/0.00154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001839/0.001839, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.8 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.62 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2522, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002475/0.2547, allocations: 1.341 MB / 1.053 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2559, allocations: 0.7872 MB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.256, allocations: 0 / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.256, allocations: 3.938 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.2561, allocations: 0 / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.2564, allocations: 76 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.616e-05/0.2564, allocations: 15.92 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.2565, allocations: 7.984 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.866e-05/0.2565, allocations: 4 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.2565, allocations: 11.94 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.2566, allocations: 0 / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.2569, allocations: 152.9 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.2569, allocations: 4 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.2569, allocations: 11.92 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.2571, allocations: 96.61 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2571, allocations: 0 / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2572, allocations: 0 / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2572, allocations: 4 kB / 1.055 GB, free: 6.324 MB / 0.8106 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.0003662/0.2575, allocations: 331.5 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2576, allocations: 12.03 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.2576, allocations: 0.9375 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2577, allocations: 160.4 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2578, allocations: 4.375 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.2578, allocations: 12.3 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.973e-05/0.2579, allocations: 41.94 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2579, allocations: 4 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.2579, allocations: 0 / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2579, allocations: 0 / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.258, allocations: 15.98 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.2581, allocations: 165.5 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.2582, allocations: 30.64 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.2582, allocations: 12.86 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001747/0.26, allocations: 0.6533 MB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.26, allocations: 46.44 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.26, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000138/0.2602, allocations: 45.69 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.2602, allocations: 55.41 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.003e-05/0.2603, allocations: 89.86 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.2603, allocations: 25.7 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.2603, allocations: 80.14 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.2604, allocations: 15.89 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.2604, allocations: 17.84 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.2605, allocations: 310.8 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.2605, allocations: 8 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.2606, allocations: 3.938 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.2606, allocations: 24.78 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2606, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.643e-05/0.2607, allocations: 41.7 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2607, allocations: 13.02 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2607, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2607, allocations: 4 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.2608, allocations: 8 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2608, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.2608, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.2608, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 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.576e-05/0.2609, allocations: 115.3 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.2609, allocations: 7.844 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.261, allocations: 57.5 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.261, allocations: 8.031 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2611, allocations: 3.938 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2611, allocations: 4 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.192e-05/0.2612, allocations: 145.7 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2612, allocations: 3.984 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.2612, allocations: 4 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2612, allocations: 3.938 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2612, allocations: 4 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2612, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2612, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.451e-05/0.2613, allocations: 73.06 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.2614, allocations: 88.98 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.2614, allocations: 0 / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.242e-05/0.2614, allocations: 0 / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.2614, allocations: 3.984 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.2614, allocations: 8 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.2615, allocations: 79.28 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2615, allocations: 0 / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002251/0.2617, allocations: 32.09 kB / 1.057 GB, free: 3.098 MB / 0.8106 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.0002418/0.2619, allocations: 127.2 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.387e-05/0.262, allocations: 23.92 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.262, allocations: 0 / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.2621, allocations: 4 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.2623, allocations: 11.94 kB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.2625, allocations: 115.7 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.2627, allocations: 0.6769 MB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.2627, allocations: 4 kB / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.2628, allocations: 11.44 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.2628, allocations: 4 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of Templates: time 0.002924/0.2657, allocations: 0.8861 MB / 1.059 GB, free: 1.188 MB / 0.8106 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=480 -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/jenkins/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