Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007359/0.0007359, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001747, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00103/0.00103, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002389, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9004/0.9004, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09381/0.9942, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.258/2.258, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2055/2.464, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.819 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.344e-05, allocations: 2.312 kB / 0.819 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002262/0.002276, allocations: 1.388 MB / 0.8203 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.00331, allocations: 0.7793 MB / 0.8211 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.003327, allocations: 0 / 0.8211 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.985e-06/0.003335, allocations: 0 / 0.8211 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.605e-05/0.003361, allocations: 7.922 kB / 0.8211 GB, free: 268 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.003533, allocations: 87.84 kB / 0.8212 GB, free: 180 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.604e-05/0.003579, allocations: 15.88 kB / 0.8212 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.003615, allocations: 11.98 kB / 0.8212 GB, free: 152 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.003667, allocations: 4 kB / 0.8212 GB, free: 148 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.003714, allocations: 11.98 kB / 0.8212 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.003728, allocations: 4 kB / 0.8212 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.003991, allocations: 148.1 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.004003, allocations: 3.938 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.264e-05/0.004016, allocations: 4 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.004169, allocations: 95.73 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.00418, allocations: 0 / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.02e-07/0.004181, allocations: 0 / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.004193, allocations: 4 kB / 0.8215 GB, free: 15.88 MB / 0.8073 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.0002859/0.004479, allocations: 244.5 kB / 0.8217 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.004506, allocations: 8.031 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.00453, allocations: 8.875 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.812e-05/0.004608, allocations: 113.7 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.004617, allocations: 4.375 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.004627, allocations: 4.375 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.684e-05/0.004684, allocations: 33.83 kB / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.00469, allocations: 0 / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-06/0.004696, allocations: 0 / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.004701, allocations: 3.984 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.828e-05/0.004719, allocations: 8 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.36e-05/0.004793, allocations: 57.05 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.004862, allocations: 30.55 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.00488, allocations: 12.86 kB / 0.822 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008652/0.005745, allocations: 320.6 kB / 0.8223 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.005764, allocations: 30.56 kB / 0.8223 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.005765, allocations: 0 / 0.8223 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 8.851e-05/0.005853, allocations: 49.62 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.005882, allocations: 55.34 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.704e-05/0.00593, allocations: 98.72 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.005938, allocations: 25.7 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.599e-05/0.005954, allocations: 80.14 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.005977, allocations: 15.89 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.006003, allocations: 13.72 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.006084, allocations: 314.8 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-06/0.006092, allocations: 0 / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.006101, allocations: 4 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.726e-05/0.006129, allocations: 20.97 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00613, allocations: 0 / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.594e-05/0.006166, allocations: 41.64 kB / 0.823 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.006176, allocations: 4 kB / 0.823 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.006182, allocations: 7.984 kB / 0.823 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.006195, allocations: 3.938 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.162e-05/0.006237, allocations: 4 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.006239, allocations: 0 / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.006249, allocations: 4.328 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-06/0.006252, allocations: 0 / 0.823 GB, free: 14.14 MB / 0.8073 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.03e-05/0.006293, allocations: 109.8 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-06/0.006298, allocations: 4 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/0.006364, allocations: 57.28 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.006367, allocations: 3.938 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.006368, allocations: 0 / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.00637, allocations: 0 / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.43e-05/0.006425, allocations: 69.89 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006426, allocations: 3.938 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.006438, allocations: 4 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-06/0.006443, allocations: 4 kB / 0.8232 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.006445, allocations: 7.984 kB / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-06/0.006448, allocations: 0 / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.006449, allocations: 0 / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.006452, allocations: 7.922 kB / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.19e-05/0.006504, allocations: 69.12 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-06/0.006511, allocations: 0 / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.671e-06/0.006517, allocations: 0 / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-06/0.006526, allocations: 0 / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.006529, allocations: 7.938 kB / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.957e-06/0.006538, allocations: 4.859 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006538, allocations: 0 / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001217/0.00666, allocations: 39.95 kB / 0.8234 GB, free: 13.7 MB / 0.8073 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.0001529/0.006813, allocations: 112.3 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.713e-05/0.00686, allocations: 16.84 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.006863, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.006878, allocations: 16.8 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.476e-05/0.006972, allocations: 39.94 kB / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.007475, allocations: 116.5 kB / 0.8237 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.409e-05/0.007499, allocations: 55.36 kB / 0.8237 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.599e-05/0.007515, allocations: 0 / 0.8237 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.00755, allocations: 55.36 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.007551, allocations: 4 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of Templates: time 0.00212/0.009671, allocations: 1.085 MB / 0.8248 GB, free: 12.14 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.819241025485098]