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.002132/0.002132, allocations: 115.5 kB / 17.13 MB, free: 6.004 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.002261/0.002261, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.549/1.549, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.986/2.986, allocations: 0.49 GB / 0.7923 GB, free: 1.359 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.002104/0.002104, allocations: 67.91 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.086, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002185/1.088, allocations: 1.312 MB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001061/1.09, allocations: 0.7862 MB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/1.09, allocations: 4 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/1.09, allocations: 0 / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/1.09, allocations: 3.938 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/1.09, allocations: 81.81 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.923e-05/1.09, allocations: 27.69 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/1.09, allocations: 6.719 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.981e-05/1.09, allocations: 2.844 kB / 1.324 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/1.09, allocations: 9.688 kB / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/1.09, allocations: 0 / 1.324 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/1.09, allocations: 150.2 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/1.09, allocations: 10.95 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/1.09, allocations: 6.938 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/1.091, allocations: 98.97 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.091, allocations: 2.906 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.023e-06/1.091, allocations: 0 / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.229e-06/1.091, allocations: 0 / 1.324 GB, free: 23.46 MB / 1.061 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.0003135/1.091, allocations: 335 kB / 1.325 GB, free: 23.1 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/1.091, allocations: 18.48 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/1.091, allocations: 0.9375 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.293e-05/1.091, allocations: 170.9 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/1.091, allocations: 384 / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/1.091, allocations: 6.344 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.234e-05/1.091, allocations: 36.48 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/1.091, allocations: 0 / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/1.091, allocations: 2.688 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/1.091, allocations: 0 / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.263e-05/1.091, allocations: 8.406 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/1.091, allocations: 158.6 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.777e-05/1.092, allocations: 40.56 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/1.092, allocations: 11.52 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/1.093, allocations: 0.6548 MB / 1.326 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/1.093, allocations: 34.5 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.093, allocations: 2.906 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001504/1.093, allocations: 44.19 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/1.093, allocations: 54.34 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.691e-05/1.093, allocations: 101.1 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/1.093, allocations: 32.45 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/1.093, allocations: 80.14 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/1.093, allocations: 7.906 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/1.093, allocations: 16.62 kB / 1.326 GB, free: 21.8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.628e-05/1.093, allocations: 317.3 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/1.094, allocations: 2.938 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/1.094, allocations: 6.469 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.957e-05/1.094, allocations: 16.8 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/1.094, allocations: 0 / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.613e-05/1.094, allocations: 44.77 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.094, allocations: 9.75 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/1.094, allocations: 336 / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/1.094, allocations: 0 / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.188e-05/1.094, allocations: 12.39 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.094, allocations: 0 / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/1.094, allocations: 0 / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/1.094, allocations: 0 / 1.327 GB, free: 21.43 MB / 1.061 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 4.671e-05/1.094, allocations: 120.3 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-06/1.094, allocations: 7.922 kB / 1.327 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.871e-05/1.094, allocations: 61.64 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/1.094, allocations: 0 / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.094, allocations: 0 / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.094, allocations: 2.844 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.261e-05/1.094, allocations: 156 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/1.094, allocations: 0 / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/1.094, allocations: 9.688 kB / 1.327 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.094, allocations: 11.88 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/1.094, allocations: 0 / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.094, allocations: 0 / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.094, allocations: 0 / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.725e-05/1.094, allocations: 73.72 kB / 1.327 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/1.094, allocations: 81.05 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/1.094, allocations: 2.562 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.143e-05/1.094, allocations: 0 / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/1.094, allocations: 4 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/1.094, allocations: 2.625 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.774e-05/1.094, allocations: 78.47 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.094, allocations: 0 / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002226/1.094, allocations: 32.12 kB / 1.327 GB, free: 20.78 MB / 1.061 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.0002162/1.095, allocations: 130.9 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.104e-05/1.095, allocations: 17.45 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.095, allocations: 0 / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.467e-05/1.095, allocations: 9.125 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/1.095, allocations: 8.953 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/1.095, allocations: 129.8 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.705e-05/1.095, allocations: 0.6848 MB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/1.095, allocations: 14 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.095, allocations: 0 / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of Templates: time 0.002653/1.098, allocations: 0.9271 MB / 1.329 GB, free: 19.73 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.340134619997116]