Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 220.8 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7714 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 66.88 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3471, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00261/0.3497, allocations: 1.32 MB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.3511, allocations: 0.7775 MB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.371e-05/0.3511, allocations: 0 / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.3511, allocations: 0 / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/0.3512, allocations: 7.922 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.3515, allocations: 91.91 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.437e-05/0.3516, allocations: 15.94 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.3517, allocations: 3.984 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.3517, allocations: 7.938 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.3517, allocations: 7.984 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.3518, allocations: 7.938 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.3521, allocations: 152 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.3521, allocations: 0 / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.3521, allocations: 11.94 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.3523, allocations: 99.72 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3524, allocations: 4 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3524, allocations: 0 / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3524, allocations: 0 / 1.287 GB, free: 8.742 MB / 0.9825 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.0004058/0.3528, allocations: 266.2 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3528, allocations: 8.031 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3528, allocations: 0.9375 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.353, allocations: 110.5 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.353, allocations: 4.359 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-06/0.353, allocations: 384 / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.3531, allocations: 46.02 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3531, allocations: 0 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3531, allocations: 0 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3531, allocations: 0 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.3532, allocations: 11.92 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001824/0.3534, allocations: 128.8 kB / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.263e-05/0.3534, allocations: 26.58 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.3535, allocations: 16.92 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001619/0.3551, allocations: 364.5 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.3551, allocations: 42.5 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.3551, allocations: 0 / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001745/0.3553, allocations: 49.62 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3554, allocations: 51.41 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.3554, allocations: 93.86 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.3555, allocations: 25.7 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.3555, allocations: 80.14 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.3555, allocations: 20.03 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.3556, allocations: 17.7 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3557, allocations: 314.8 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.3557, allocations: 0 / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-06/0.3557, allocations: 4 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.3558, allocations: 21.12 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3558, allocations: 0 / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.267e-05/0.3559, allocations: 53.62 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3559, allocations: 7.938 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3559, allocations: 4 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3559, allocations: 4 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.356, allocations: 11.92 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.356, allocations: 3.938 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.356, allocations: 0 / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.356, allocations: 3.984 kB / 1.289 GB, free: 6.805 MB / 0.9825 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.118e-05/0.3561, allocations: 109.8 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.3561, allocations: 3.938 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.3562, allocations: 61.31 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3562, allocations: 0 / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3562, allocations: 0 / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3562, allocations: 3.984 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.3563, allocations: 128.7 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3563, allocations: 0 / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-05/0.3564, allocations: 7.984 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3564, allocations: 3.938 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.3564, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3564, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3564, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.295e-05/0.3565, allocations: 73.06 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-06/0.3565, allocations: 7.938 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.3565, allocations: 0 / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.3565, allocations: 0 / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.3565, allocations: 0 / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.3565, allocations: 8 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.3566, allocations: 79.27 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3566, allocations: 4.094 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002292/0.3568, allocations: 31.88 kB / 1.289 GB, free: 6.215 MB / 0.9825 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.000246/0.357, allocations: 123.2 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.3571, allocations: 15.98 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3571, allocations: 4 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.719e-05/0.3572, allocations: 11.94 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.3573, allocations: 6 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.3577, allocations: 147.8 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.358, allocations: 0.6806 MB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.358, allocations: 11.44 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.358, allocations: 0 / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of Templates: time 0.002584/0.3606, allocations: 0.9046 MB / 1.291 GB, free: 4.246 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.725853951997124]