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.001294/0.001294, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001419/0.001419, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.828/2.828, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] 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.002056/0.002056, allocations: 63.91 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8191/0.8211, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001884/0.823, allocations: 1.31 MB / 1.155 GB, free: 32.46 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008696/0.8239, allocations: 0.7255 MB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.573e-05/0.8239, allocations: 0 / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.8239, allocations: 0 / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.683e-05/0.8239, allocations: 3.938 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.8242, allocations: 97.06 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.261e-05/0.8243, allocations: 11.69 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.8243, allocations: 7.562 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.8243, allocations: 13.62 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.8244, allocations: 7.062 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.8244, allocations: 0 / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.8246, allocations: 142.5 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.8246, allocations: 3.031 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.8246, allocations: 6.844 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.8248, allocations: 108.2 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.8248, allocations: 0 / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8248, allocations: 0 / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.8248, allocations: 6.969 kB / 1.156 GB, free: 31.88 MB / 1.076 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.000232/0.825, allocations: 258.2 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.8251, allocations: 8.781 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.8251, allocations: 3.844 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.258e-05/0.8251, allocations: 109.6 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.8251, allocations: 384 / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.8252, allocations: 3.844 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.896e-05/0.8252, allocations: 36.02 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.8252, allocations: 0 / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.8252, allocations: 0 / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.8252, allocations: 0 / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.8253, allocations: 16.72 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.515e-05/0.8254, allocations: 113.8 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.676e-05/0.8254, allocations: 28.02 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.8254, allocations: 13.33 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/0.8269, allocations: 360.7 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.827, allocations: 33.31 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.827, allocations: 0 / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0001128/0.8271, allocations: 54.88 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.8271, allocations: 58.44 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.52e-05/0.8271, allocations: 92.61 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.8271, allocations: 29.7 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.119e-05/0.8271, allocations: 82.95 kB / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.8272, allocations: 12.03 kB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.8272, allocations: 15.77 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.257e-05/0.8272, allocations: 317.7 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.8272, allocations: 3 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-06/0.8272, allocations: 5.984 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.8273, allocations: 14.61 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8273, allocations: 2.719 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.169e-05/0.8273, allocations: 48.83 kB / 1.158 GB, free: 30.47 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.8273, allocations: 5.281 kB / 1.158 GB, free: 30.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.8273, allocations: 10.66 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.8273, allocations: 4.031 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.957e-05/0.8274, allocations: 6.875 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.8274, allocations: 0 / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.8274, allocations: 2.812 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.8274, allocations: 0 / 1.158 GB, free: 30.45 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 3.461e-05/0.8274, allocations: 116.5 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.8274, allocations: 0 / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.45e-05/0.8275, allocations: 58.52 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.8275, allocations: 0 / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.8275, allocations: 0 / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.8275, allocations: 0 / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.014e-05/0.8276, allocations: 118.2 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.8276, allocations: 0 / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.8276, allocations: 2.938 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.8276, allocations: 2.812 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.8276, allocations: 4 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8276, allocations: 3.938 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.8276, allocations: 0 / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.616e-05/0.8277, allocations: 74.14 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-06/0.8277, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.8277, allocations: 6.844 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.184e-05/0.8277, allocations: 7.938 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-06/0.8277, allocations: 4 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.8277, allocations: 2.812 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.293e-05/0.8277, allocations: 78.56 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.8277, allocations: 3.125 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002002/0.8279, allocations: 24.03 kB / 1.158 GB, free: 29.97 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.0001564/0.8281, allocations: 134 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.729e-05/0.8281, allocations: 15.31 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8281, allocations: 0 / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.8281, allocations: 12.81 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.8283, allocations: 10.69 kB / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001763/0.8285, allocations: 110.8 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.255e-05/0.8285, allocations: 57.52 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.19e-05/0.8285, allocations: 7.062 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.394e-05/0.8285, allocations: 11.44 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.8285, allocations: 0 / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of Templates: time 0.1181/0.9466, allocations: 0.9191 MB / 1.16 GB, free: 29.54 MB / 1.076 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 -s ida -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: 14.005742273991928]