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.001454/0.001454, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001556/0.001556, allocations: 221.1 kB / 23 MB, free: 4.914 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.794/2.794, allocations: 476 MB / 0.7707 GB, free: 4.77 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.002118/0.002118, allocations: 70.42 kB / 1.118 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4097, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002687/0.4124, allocations: 1.303 MB / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.4138, allocations: 0.723 MB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.4138, allocations: 0 / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.4138, allocations: 0 / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.4139, allocations: 7.938 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.4143, allocations: 95.89 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.233e-05/0.4143, allocations: 19.88 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.4144, allocations: 0 / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.4144, allocations: 4 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.4144, allocations: 7.984 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.4145, allocations: 0 / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.4148, allocations: 148 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.4148, allocations: 11.94 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.4148, allocations: 0 / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.4151, allocations: 107.7 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4151, allocations: 4 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4151, allocations: 0 / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4151, allocations: 0 / 1.286 GB, free: 9.523 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.0004092/0.4155, allocations: 264.1 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.4155, allocations: 8.031 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.4156, allocations: 0.9375 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.4157, allocations: 110.5 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4157, allocations: 4.359 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.4157, allocations: 384 / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.4158, allocations: 42.02 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4158, allocations: 4 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.4158, allocations: 0 / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.4158, allocations: 0 / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.4159, allocations: 11.92 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.416, allocations: 101.3 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.4161, allocations: 34.61 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.4162, allocations: 12.92 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/0.4178, allocations: 364.5 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.4179, allocations: 38.55 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.4179, allocations: 0 / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001734/0.4181, allocations: 53.58 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.4181, allocations: 55.39 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.4182, allocations: 97.86 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.4182, allocations: 29.64 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.4183, allocations: 80.14 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.4183, allocations: 11.91 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.4183, allocations: 13.72 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4185, allocations: 314.8 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.4185, allocations: 8 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.4186, allocations: 4 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.4186, allocations: 20.8 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4186, allocations: 3.938 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.351e-05/0.4187, allocations: 45.81 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4187, allocations: 8 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4187, allocations: 3.938 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4187, allocations: 0 / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.844e-05/0.4188, allocations: 4 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.4188, allocations: 7.984 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.4188, allocations: 0 / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.4188, allocations: 0 / 1.288 GB, free: 7.633 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 9.892e-05/0.4189, allocations: 105.8 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.4189, allocations: 4 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.419, allocations: 69.56 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.419, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.419, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.419, allocations: 0 / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.677e-05/0.4191, allocations: 105.3 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4191, allocations: 0 / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.422e-05/0.4192, allocations: 8 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4192, allocations: 0 / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.4192, allocations: 0 / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.4192, allocations: 7.938 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4192, allocations: 0 / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.4193, allocations: 81.02 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.4193, allocations: 4 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.4193, allocations: 3.938 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.4193, allocations: 3.938 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.4193, allocations: 3.984 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.4193, allocations: 4 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.4194, allocations: 75.28 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4194, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002309/0.4196, allocations: 35.88 kB / 1.288 GB, free: 7.066 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.000276/0.4199, allocations: 131.2 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.42, allocations: 12 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.42, allocations: 0 / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.42, allocations: 11.94 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.4202, allocations: 3.984 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.4205, allocations: 147.8 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.006e-05/0.4206, allocations: 59.36 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.4206, allocations: 7.438 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4206, allocations: 0 / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of Templates: time 0.002772/0.4234, allocations: 0.9269 MB / 1.29 GB, free: 5.707 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.785898071713746]