Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.88 kB / 1.059 GB, free: 344 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3237, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002494/0.3262, allocations: 1.293 MB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3275, allocations: 0.7463 MB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.3275, allocations: 0 / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.218e-05/0.3275, allocations: 0 / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.232e-05/0.3276, allocations: 7.922 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.3279, allocations: 91.97 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.328, allocations: 19.88 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.858e-05/0.328, allocations: 3.984 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.531e-05/0.3281, allocations: 7.938 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.3281, allocations: 11.98 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3281, allocations: 0 / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.3285, allocations: 140.1 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.3285, allocations: 8 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.3285, allocations: 7.938 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.3287, allocations: 99.72 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3287, allocations: 4 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3287, allocations: 0 / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3287, allocations: 3.938 kB / 1.219 GB, free: 12.84 MB / 0.9669 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.0004605/0.3292, allocations: 339.3 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3292, allocations: 8.031 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.3292, allocations: 4.922 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.3294, allocations: 164.4 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.3294, allocations: 8.297 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.3294, allocations: 4.375 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.3296, allocations: 46 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3296, allocations: 0 / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3296, allocations: 0 / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3296, allocations: 4 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.269e-05/0.3296, allocations: 4 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.3298, allocations: 161.6 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.3299, allocations: 38.55 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.33, allocations: 16.92 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.3318, allocations: 0.6494 MB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3318, allocations: 38.5 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3318, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001813/0.332, allocations: 45.69 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.332, allocations: 51.41 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.3321, allocations: 101.8 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3321, allocations: 25.7 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.3322, allocations: 84.14 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.3322, allocations: 19.95 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.3323, allocations: 13.72 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3324, allocations: 314.8 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.3324, allocations: 3.984 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.3324, allocations: 8 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/0.3325, allocations: 16.86 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3325, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.313e-05/0.3325, allocations: 41.69 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3326, allocations: 7.938 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3326, allocations: 7.938 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3326, allocations: 4 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.3327, allocations: 7.938 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3327, allocations: 0 / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.3327, allocations: 7.953 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.3327, allocations: 0 / 1.221 GB, free: 10.33 MB / 0.9669 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.478e-05/0.3328, allocations: 113.8 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.3328, allocations: 3.938 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.3329, allocations: 61.44 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3329, allocations: 0 / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3329, allocations: 0 / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3329, allocations: 0 / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.3331, allocations: 153.7 kB / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3331, allocations: 4 kB / 1.221 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.3331, allocations: 4 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3331, allocations: 7.875 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3331, allocations: 0 / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3331, allocations: 0 / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3331, allocations: 4 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.812e-05/0.3332, allocations: 69.12 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.3332, allocations: 89.03 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.3333, allocations: 4 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.3333, allocations: 0 / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.3333, allocations: 0 / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.3333, allocations: 4 kB / 1.221 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.883e-05/0.3333, allocations: 79.28 kB / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3333, allocations: 0 / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002447/0.3336, allocations: 35.88 kB / 1.221 GB, free: 9.602 MB / 0.9669 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.0002753/0.3339, allocations: 127.1 kB / 1.221 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.334, allocations: 12.03 kB / 1.221 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.334, allocations: 8 kB / 1.221 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.334, allocations: 11.98 kB / 1.221 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.3342, allocations: 7.938 kB / 1.221 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.3345, allocations: 118 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3348, allocations: 0.6729 MB / 1.222 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.3348, allocations: 11.92 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.3349, allocations: 11.44 kB / 1.222 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.3349, allocations: 3.938 kB / 1.222 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of Templates: time 0.00375/0.3386, allocations: 0.906 MB / 1.223 GB, free: 7.664 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.07658684719354]