Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001195/0.001195, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001569/0.002764, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001063/0.001063, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002496, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.8719/0.8719, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07724/0.9492, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.782/1.782, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4046/2.187, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.105e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002936/0.002957, allocations: 1.394 MB / 0.731 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.004239, allocations: 0.7735 MB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.004269, allocations: 5.484 kB / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.004285, allocations: 3.938 kB / 0.7318 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.574e-05/0.00432, allocations: 3.703 kB / 0.7318 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.004641, allocations: 88.92 kB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.004707, allocations: 19.69 kB / 0.7319 GB, free: 2.156 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.004751, allocations: 4.984 kB / 0.7319 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.004809, allocations: 16.73 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.004865, allocations: 4.984 kB / 0.7319 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.00488, allocations: 0.9688 kB / 0.7319 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.005235, allocations: 148.7 kB / 0.7321 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.005252, allocations: 5.594 kB / 0.7321 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.005271, allocations: 7.938 kB / 0.7321 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.005475, allocations: 100.9 kB / 0.7322 GB, free: 1.879 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.005488, allocations: 0 / 0.7322 GB, free: 1.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005489, allocations: 0 / 0.7322 GB, free: 1.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.005502, allocations: 0.8438 kB / 0.7322 GB, free: 1.879 MB / 0.698 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.0003497/0.005852, allocations: 236.6 kB / 0.7324 GB, free: 1.625 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.005888, allocations: 12.81 kB / 0.7324 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.005919, allocations: 0.9375 kB / 0.7324 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.416e-05/0.006013, allocations: 114.3 kB / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.006024, allocations: 1.281 kB / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.006034, allocations: 384 / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.331e-05/0.006108, allocations: 34.25 kB / 0.7326 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.006115, allocations: 0.875 kB / 0.7326 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.006121, allocations: 384 / 0.7326 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.006127, allocations: 5.344 kB / 0.7326 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.00615, allocations: 7.984 kB / 0.7326 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.006252, allocations: 65 kB / 0.7326 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.304e-05/0.006325, allocations: 30.98 kB / 0.7327 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.006347, allocations: 13.55 kB / 0.7327 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.007461, allocations: 321.9 kB / 0.733 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.007488, allocations: 30.56 kB / 0.733 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.007489, allocations: 1.406 kB / 0.733 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001091/0.007598, allocations: 41.69 kB / 0.7331 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.007629, allocations: 51.41 kB / 0.7331 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.007686, allocations: 104 kB / 0.7332 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.007697, allocations: 33.64 kB / 0.7332 GB, free: 0.707 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.007722, allocations: 80.14 kB / 0.7333 GB, free: 0.625 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.00775, allocations: 8.672 kB / 0.7333 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.007778, allocations: 13.72 kB / 0.7333 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.007869, allocations: 319.3 kB / 0.7336 GB, free: 284 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.007879, allocations: 4.656 kB / 0.7336 GB, free: 280 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-06/0.007888, allocations: 3.984 kB / 0.7336 GB, free: 276 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.007916, allocations: 14.23 kB / 0.7337 GB, free: 260 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007918, allocations: 0 / 0.7337 GB, free: 260 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.896e-05/0.007976, allocations: 37.69 kB / 0.7337 GB, free: 216 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.00799, allocations: 4 kB / 0.7337 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007994, allocations: 2.766 kB / 0.7337 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.008006, allocations: 0 / 0.7337 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.061e-05/0.008057, allocations: 15.94 kB / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-06/0.00806, allocations: 0 / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.747e-05/0.008077, allocations: 7.922 kB / 0.7337 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.008082, allocations: 3.984 kB / 0.7337 GB, free: 184 kB / 0.698 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.006e-05/0.008142, allocations: 116.7 kB / 0.7338 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.008151, allocations: 3.984 kB / 0.7338 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.008262, allocations: 45.36 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.008264, allocations: 0 / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.008266, allocations: 0 / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.008268, allocations: 0 / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.331e-05/0.008341, allocations: 73.78 kB / 0.734 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.008344, allocations: 5.5 kB / 0.734 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.008368, allocations: 7.938 kB / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-06/0.008374, allocations: 3.953 kB / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.008376, allocations: 0 / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-06/0.00838, allocations: 4.906 kB / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.008383, allocations: 4 kB / 0.734 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008384, allocations: 0.5938 kB / 0.734 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.966e-05/0.008454, allocations: 69.05 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.008463, allocations: 0.5938 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-06/0.008473, allocations: 0 / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.008486, allocations: 8.641 kB / 0.7341 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.008488, allocations: 0.5625 kB / 0.7341 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.303e-05/0.008501, allocations: 10.3 kB / 0.7341 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.008501, allocations: 0 / 0.7341 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002113/0.008713, allocations: 31.88 kB / 0.7341 GB, free: 15.75 MB / 0.7136 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.0002334/0.008946, allocations: 112.5 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.185e-05/0.009008, allocations: 12.8 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.009012, allocations: 4 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.009032, allocations: 12.84 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.009172, allocations: 49.56 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/0.009943, allocations: 111.6 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.355e-05/0.009977, allocations: 59.34 kB / 0.7344 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.815e-05/0.01001, allocations: 4 kB / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.01006, allocations: 53.09 kB / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of SimCode: time 7.62e-07/0.01006, allocations: 0 / 0.7345 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.003321/0.01338, allocations: 1.081 MB / 0.7356 GB, free: 14.26 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.475134612992406]