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.001839/0.001839, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.002189/0.002189, allocations: 158.8 kB / 23.01 MB, free: 4.941 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.628/2.628, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] 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.002221/0.002221, allocations: 63.91 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3204, allocations: 169.9 MB / 1.117 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002946/0.3234, allocations: 1.304 MB / 1.119 GB, free: 1.211 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.3249, allocations: 0.721 MB / 1.119 GB, free: 496 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.3249, allocations: 0 / 1.119 GB, free: 496 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.325, allocations: 4 kB / 1.119 GB, free: 492 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.325, allocations: 7.922 kB / 1.119 GB, free: 484 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.3254, allocations: 95.91 kB / 1.12 GB, free: 388 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.3255, allocations: 15.92 kB / 1.12 GB, free: 372 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.3255, allocations: 0 / 1.12 GB, free: 372 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.478e-05/0.3255, allocations: 11.94 kB / 1.12 GB, free: 360 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.686e-05/0.3256, allocations: 7.938 kB / 1.12 GB, free: 352 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3256, allocations: 0 / 1.12 GB, free: 352 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.326, allocations: 148 kB / 1.12 GB, free: 204 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.326, allocations: 7.984 kB / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.326, allocations: 3.938 kB / 1.12 GB, free: 192 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.3262, allocations: 107.7 kB / 1.12 GB, free: 84 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3262, allocations: 4 kB / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3263, allocations: 0 / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3263, allocations: 0 / 1.12 GB, free: 80 kB / 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.0004208/0.3267, allocations: 266.2 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.3267, allocations: 8.031 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.3267, allocations: 4.938 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.3268, allocations: 102.5 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3269, allocations: 384 / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.3269, allocations: 4.375 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.224e-05/0.327, allocations: 38 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.327, allocations: 0 / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.327, allocations: 11.94 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.327, allocations: 0 / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.385e-05/0.327, allocations: 11.92 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.3272, allocations: 109.3 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.3273, allocations: 26.58 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.3273, allocations: 12.95 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/0.3291, allocations: 368.5 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.3291, allocations: 30.56 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.3291, allocations: 0 / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0001762/0.3293, allocations: 57.56 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3293, allocations: 51.41 kB / 1.121 GB, free: 14.87 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.3294, allocations: 101.9 kB / 1.121 GB, free: 14.76 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3294, allocations: 25.7 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3296, allocations: 80.14 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.3296, allocations: 11.89 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.3296, allocations: 17.72 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3298, allocations: 310.8 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.3298, allocations: 4 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.412e-05/0.3299, allocations: 7.984 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.3299, allocations: 16.86 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3299, allocations: 3.938 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.176e-05/0.33, allocations: 45.69 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.33, allocations: 11.41 kB / 1.122 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.33, allocations: 7.875 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.33, allocations: 0 / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.197e-05/0.3301, allocations: 4 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3301, allocations: 4 kB / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.3301, allocations: 0 / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.3301, allocations: 0 / 1.122 GB, free: 14.19 MB / 1.076 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.067e-05/0.3302, allocations: 113.8 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.3302, allocations: 0 / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.3303, allocations: 69.19 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3303, allocations: 0 / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3303, allocations: 0 / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3303, allocations: 0 / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.529e-05/0.3304, allocations: 105.3 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3304, allocations: 3.938 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.3304, allocations: 8 kB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3304, allocations: 0 / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3304, allocations: 7.984 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3304, allocations: 3.938 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3305, allocations: 0 / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.3306, allocations: 73.47 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-06/0.3306, allocations: 8.031 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.3306, allocations: 0 / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.3306, allocations: 7.938 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.3306, allocations: 4 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.3306, allocations: 0 / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.3306, allocations: 75.28 kB / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3306, allocations: 0 / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002431/0.3309, allocations: 35.86 kB / 1.122 GB, free: 13.62 MB / 1.076 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.0002275/0.3311, allocations: 123.3 kB / 1.122 GB, free: 13.49 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.162e-05/0.3312, allocations: 15.98 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3312, allocations: 0 / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.98e-05/0.3312, allocations: 11.94 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.3314, allocations: 10 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.3317, allocations: 110.2 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.021e-05/0.3317, allocations: 67.34 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.3317, allocations: 0 / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.3318, allocations: 12.5 kB / 1.122 GB, free: 13.21 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.3318, allocations: 0 / 1.122 GB, free: 13.21 MB / 1.076 GB Notification: Performance of Templates: time 0.003392/0.3352, allocations: 0.9107 MB / 1.123 GB, free: 12.32 MB / 1.076 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 ida -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: 8.097470073029399]