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.001526/0.001526, allocations: 115.7 kB / 17.13 MB, free: 5.941 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.001561/0.001561, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.446/1.446, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.609/2.609, allocations: 443.5 MB / 0.7293 GB, free: 14.65 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.001997/0.001997, allocations: 68.08 kB / 1.057 GB, free: 2.066 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 160.7 MB / 1.214 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002494/0.3378, allocations: 1.294 MB / 1.215 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3391, allocations: 0.7421 MB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.3391, allocations: 0 / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.3391, allocations: 3.984 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.973e-05/0.3392, allocations: 3.938 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.3395, allocations: 91.97 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.811e-05/0.3396, allocations: 23.86 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.3397, allocations: 0 / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/0.3397, allocations: 7.938 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.3397, allocations: 8 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3397, allocations: 4 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.3401, allocations: 148 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.3401, allocations: 4 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.3401, allocations: 7.938 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.3403, allocations: 103.7 kB / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3403, allocations: 0 / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3403, allocations: 0 / 1.216 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3403, allocations: 0 / 1.216 GB, free: 14.57 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.0004281/0.3408, allocations: 339.3 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3408, allocations: 8.031 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.3408, allocations: 0.9375 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.341, allocations: 168.4 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.341, allocations: 384 / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.341, allocations: 4.312 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.3411, allocations: 42.02 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3411, allocations: 0 / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3411, allocations: 0 / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3411, allocations: 4 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.019e-05/0.3412, allocations: 7.984 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.3413, allocations: 157.7 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.886e-05/0.3414, allocations: 34.52 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.3415, allocations: 20.91 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0018/0.3433, allocations: 0.6533 MB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3433, allocations: 38.5 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3433, allocations: 0 / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001651/0.3435, allocations: 45.69 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3435, allocations: 51.41 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.3436, allocations: 97.86 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3436, allocations: 25.7 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.3436, allocations: 80.14 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.3437, allocations: 20 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.3437, allocations: 21.66 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3438, allocations: 310.8 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.3439, allocations: 0 / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.3439, allocations: 11.98 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.3439, allocations: 16.86 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3439, allocations: 0 / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.316e-05/0.344, allocations: 41.97 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.344, allocations: 7.938 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.344, allocations: 4 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.344, allocations: 4.047 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.3441, allocations: 11.92 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3441, allocations: 3.938 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.3441, allocations: 7.953 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.3441, allocations: 0 / 1.219 GB, free: 12.07 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 7.412e-05/0.3442, allocations: 109.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.3442, allocations: 3.938 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.3443, allocations: 57.17 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3443, allocations: 0 / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3443, allocations: 4 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3443, allocations: 0 / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.3444, allocations: 157.7 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3444, allocations: 4 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.3445, allocations: 4 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3445, allocations: 7.875 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3445, allocations: 3.938 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3445, allocations: 0 / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3445, allocations: 4 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.462e-05/0.3446, allocations: 69.12 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.3446, allocations: 85.05 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.3446, allocations: 0 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.3446, allocations: 0 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.3446, allocations: 3.984 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3447, allocations: 4 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.3447, allocations: 79.28 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3447, allocations: 0 / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000232/0.3449, allocations: 35.88 kB / 1.219 GB, free: 11.34 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.0002658/0.3452, allocations: 119.2 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.062e-05/0.3453, allocations: 24.02 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3453, allocations: 0 / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.752e-05/0.3453, allocations: 8 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.3455, allocations: 7.984 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.3458, allocations: 131.7 kB / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.3461, allocations: 0.6767 MB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.3461, allocations: 11.44 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.3461, allocations: 0 / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.00256/0.3487, allocations: 0.9271 MB / 1.221 GB, free: 9.375 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.969192018033937]