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.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.001748/0.001748, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001998/0.001998, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.579/1.579, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.848/2.848, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 77.78 kB / 1.109 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3667, allocations: 168.7 MB / 1.274 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002765/0.3695, allocations: 1.302 MB / 1.275 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.3709, allocations: 0.7417 MB / 1.276 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.3709, allocations: 0 / 1.276 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.371, allocations: 3.984 kB / 1.276 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.236e-05/0.371, allocations: 3.938 kB / 1.276 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.3714, allocations: 91.91 kB / 1.276 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.18e-05/0.3715, allocations: 15.92 kB / 1.276 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.3715, allocations: 4 kB / 1.276 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.3716, allocations: 3.938 kB / 1.276 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.3716, allocations: 15.98 kB / 1.276 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3716, allocations: 4 kB / 1.276 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.372, allocations: 148 kB / 1.276 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.372, allocations: 4 kB / 1.276 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.372, allocations: 7.938 kB / 1.276 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3723, allocations: 107.6 kB / 1.276 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3723, allocations: 0 / 1.276 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3723, allocations: 0 / 1.276 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.3723, allocations: 0 / 1.276 GB, free: 8.844 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.000455/0.3727, allocations: 335.4 kB / 1.277 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3728, allocations: 12.03 kB / 1.277 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.3728, allocations: 0.9375 kB / 1.277 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.373, allocations: 172.3 kB / 1.277 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.373, allocations: 384 / 1.277 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.373, allocations: 384 / 1.277 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3731, allocations: 42 kB / 1.277 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3731, allocations: 0 / 1.277 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.3731, allocations: 3.938 kB / 1.277 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3731, allocations: 7.984 kB / 1.277 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.333e-05/0.3732, allocations: 7.938 kB / 1.277 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.3734, allocations: 157.7 kB / 1.277 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.592e-05/0.3734, allocations: 30.58 kB / 1.277 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.3735, allocations: 16.95 kB / 1.277 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/0.3754, allocations: 0.6533 MB / 1.278 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.3754, allocations: 34.5 kB / 1.278 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3754, allocations: 0 / 1.278 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001842/0.3756, allocations: 49.62 kB / 1.278 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.3757, allocations: 63.41 kB / 1.278 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.3757, allocations: 89.86 kB / 1.278 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3758, allocations: 25.7 kB / 1.278 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.3758, allocations: 84.12 kB / 1.278 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.3758, allocations: 19.88 kB / 1.278 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.3759, allocations: 13.72 kB / 1.278 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.376, allocations: 310.8 kB / 1.279 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.3761, allocations: 8.125 kB / 1.279 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.296e-05/0.3761, allocations: 11.92 kB / 1.279 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.4e-05/0.3761, allocations: 16.86 kB / 1.279 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3761, allocations: 0 / 1.279 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.336e-05/0.3762, allocations: 49.58 kB / 1.279 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3762, allocations: 9.5 kB / 1.279 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3762, allocations: 0 / 1.279 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3762, allocations: 4 kB / 1.279 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.3763, allocations: 4 kB / 1.279 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3763, allocations: 0 / 1.279 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.3763, allocations: 4 kB / 1.279 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.3763, allocations: 4 kB / 1.279 GB, free: 6.34 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.603e-05/0.3764, allocations: 111.4 kB / 1.279 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.3764, allocations: 7.922 kB / 1.279 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.3766, allocations: 57.45 kB / 1.279 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3766, allocations: 3.938 kB / 1.279 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3766, allocations: 0 / 1.279 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3766, allocations: 8.031 kB / 1.279 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.3767, allocations: 149.7 kB / 1.279 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3767, allocations: 8 kB / 1.279 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.3767, allocations: 4 kB / 1.279 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.3768, allocations: 3.938 kB / 1.279 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.3768, allocations: 0 / 1.279 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3768, allocations: 0 / 1.279 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3768, allocations: 0 / 1.279 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.3769, allocations: 69.12 kB / 1.279 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.3769, allocations: 89 kB / 1.279 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3769, allocations: 7.984 kB / 1.279 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.26e-05/0.3769, allocations: 3.938 kB / 1.279 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.377, allocations: 0 / 1.279 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.377, allocations: 4 kB / 1.279 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.335e-05/0.377, allocations: 75.28 kB / 1.279 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.377, allocations: 0 / 1.279 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002447/0.3773, allocations: 35.88 kB / 1.279 GB, free: 5.613 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.0002698/0.3775, allocations: 131.7 kB / 1.279 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.69e-05/0.3776, allocations: 12 kB / 1.279 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3776, allocations: 4 kB / 1.279 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.574e-05/0.3776, allocations: 7.938 kB / 1.279 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.3779, allocations: 7.984 kB / 1.279 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.3782, allocations: 118 kB / 1.279 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.3785, allocations: 0.6729 MB / 1.28 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.3785, allocations: 7.938 kB / 1.28 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.3785, allocations: 7.438 kB / 1.28 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3785, allocations: 0 / 1.28 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.003567/0.3821, allocations: 0.9136 MB / 1.281 GB, free: 3.688 MB / 0.9825 GB " [Timeout remaining time 300] 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 -s cvode -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_2/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: 8.791199832223356]