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.002324/0.002324, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003297/0.003297, allocations: 212.7 kB / 22.24 MB, free: 4.855 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.7/1.7, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.539/3.539, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002142/0.002142, allocations: 66.58 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4447, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002841/0.4476, allocations: 1.305 MB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.449, allocations: 0.7211 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.449, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.4491, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.845e-05/0.4491, allocations: 15.92 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.4495, allocations: 87.97 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.4496, allocations: 23.86 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.4497, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.496e-05/0.4497, allocations: 7.984 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.4497, allocations: 7.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.4498, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.4501, allocations: 136.1 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.4502, allocations: 11.98 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.4502, allocations: 7.938 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.4504, allocations: 103.7 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4504, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4504, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.4504, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 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.0004422/0.4509, allocations: 262.2 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.4509, allocations: 8.031 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.451, allocations: 0.9375 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.4511, allocations: 110.5 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.4511, allocations: 384 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.4511, allocations: 4.375 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.4512, allocations: 46 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4513, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4513, allocations: 3.938 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4513, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.283e-05/0.4513, allocations: 4 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.4515, allocations: 105.3 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.4516, allocations: 34.52 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.785e-05/0.4516, allocations: 16.95 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/0.4534, allocations: 368.5 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.4534, allocations: 34.56 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4534, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001884/0.4536, allocations: 57.61 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.4537, allocations: 59.34 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.4538, allocations: 93.86 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.4538, allocations: 25.7 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.4539, allocations: 80.14 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.4539, allocations: 19.83 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.4539, allocations: 13.72 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4541, allocations: 310.8 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.4541, allocations: 8 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.4541, allocations: 4 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.333e-05/0.4542, allocations: 20.84 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4542, allocations: 4.125 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.328e-05/0.4543, allocations: 45.64 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4543, allocations: 7.984 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4543, allocations: 3.938 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4543, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/0.4544, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4544, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.4544, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.4544, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 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 0.0001065/0.4545, allocations: 106.4 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-06/0.4545, allocations: 8 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.4547, allocations: 61.3 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4547, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4547, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4547, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.4548, allocations: 105.2 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4548, allocations: 3.938 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.4548, allocations: 8 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4548, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.4548, allocations: 4 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.4548, allocations: 7.922 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4548, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.4549, allocations: 73.12 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.4549, allocations: 4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.455, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.455, allocations: 3.938 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.455, allocations: 3.938 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.455, allocations: 4 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.455, allocations: 75.28 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.455, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002572/0.4553, allocations: 39.86 kB / 1.33 GB, free: 12.96 MB / 1.029 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.0002672/0.4556, allocations: 127.6 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.4557, allocations: 23.97 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4557, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.68e-05/0.4557, allocations: 8 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.4559, allocations: 4.938 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.4562, allocations: 118 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.173e-05/0.4562, allocations: 63.34 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.395e-05/0.4563, allocations: 0 / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.4563, allocations: 11.44 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of SimCode: time 2.61e-07/0.4563, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of Templates: time 0.003985/0.4603, allocations: 0.9244 MB / 1.331 GB, free: 11.65 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.215978594496846]