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.00191/0.00191, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002053/0.002053, allocations: 161.7 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.658/1.658, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.893/2.893, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.975e-05, allocations: 4 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00255/0.00258, allocations: 1.327 MB / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.004007, allocations: 0.7513 MB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.004026, allocations: 0.75 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.00404, allocations: 0 / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.994e-05/0.0041, allocations: 8.859 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.004458, allocations: 97.94 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.571e-05/0.004513, allocations: 15.92 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.00455, allocations: 0 / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.004591, allocations: 15.92 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.004651, allocations: 4 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.004663, allocations: 1.438 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.005005, allocations: 144 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.00502, allocations: 4 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.00504, allocations: 3.984 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.005298, allocations: 133.6 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005301, allocations: 0 / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.92e-07/0.005301, allocations: 0 / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.005305, allocations: 0 / 0.7888 GB, free: 10.26 MB / 0.7448 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.0006858/0.005991, allocations: 364.1 kB / 0.7892 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.006029, allocations: 14.34 kB / 0.7892 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.00607, allocations: 0.9375 kB / 0.7892 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.006192, allocations: 112.6 kB / 0.7893 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.006204, allocations: 384 / 0.7893 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.006214, allocations: 4.375 kB / 0.7893 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.006319, allocations: 38.25 kB / 0.7894 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.006334, allocations: 4.812 kB / 0.7894 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.006345, allocations: 2.031 kB / 0.7894 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.006352, allocations: 3.938 kB / 0.7894 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.006399, allocations: 7.984 kB / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.006583, allocations: 112.6 kB / 0.7895 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.006711, allocations: 44.38 kB / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.483e-05/0.006745, allocations: 15.78 kB / 0.7895 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/0.008545, allocations: 363.4 kB / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.008581, allocations: 37.38 kB / 0.7899 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.008582, allocations: 0 / 0.7899 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001852/0.008767, allocations: 49.64 kB / 0.79 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.008818, allocations: 60.33 kB / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.008942, allocations: 153.9 kB / 0.7902 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.008962, allocations: 26.77 kB / 0.7902 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.009036, allocations: 130.9 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.009065, allocations: 7.891 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.009102, allocations: 20.47 kB / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002789/0.009381, allocations: 0.4923 MB / 0.7908 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.009397, allocations: 0 / 0.7908 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.009412, allocations: 5.094 kB / 0.7908 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.009458, allocations: 19.97 kB / 0.7909 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.009461, allocations: 3.938 kB / 0.7909 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.299e-05/0.009554, allocations: 58.09 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.009571, allocations: 12.12 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.009576, allocations: 0 / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.00959, allocations: 0 / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.009643, allocations: 4 kB / 0.7909 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.009653, allocations: 7.922 kB / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.009666, allocations: 0 / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.009674, allocations: 4 kB / 0.7909 GB, free: 7.953 MB / 0.7448 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.0001108/0.009785, allocations: 152.6 kB / 0.7911 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.009801, allocations: 8 kB / 0.7911 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.009938, allocations: 57.25 kB / 0.7911 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.00994, allocations: 4 kB / 0.7911 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.009946, allocations: 3.938 kB / 0.7912 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.009949, allocations: 0 / 0.7912 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.01008, allocations: 120.6 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.01008, allocations: 0 / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.0101, allocations: 4 kB / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.01011, allocations: 0 / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.01011, allocations: 4 kB / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01011, allocations: 0 / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01011, allocations: 0 / 0.7913 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.01024, allocations: 80.38 kB / 0.7914 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.01025, allocations: 11.95 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.01026, allocations: 4 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.276e-05/0.01028, allocations: 0 / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.0103, allocations: 7.922 kB / 0.7914 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.01031, allocations: 7.938 kB / 0.7914 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.075e-05/0.01038, allocations: 119.2 kB / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01038, allocations: 0 / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000236/0.01061, allocations: 31.94 kB / 0.7915 GB, free: 7.27 MB / 0.7448 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.0002709/0.01088, allocations: 131.2 kB / 0.7917 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.01099, allocations: 27.62 kB / 0.7917 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01099, allocations: 0 / 0.7917 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.01102, allocations: 15.67 kB / 0.7917 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.01121, allocations: 4 kB / 0.7917 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.01152, allocations: 106.5 kB / 0.7918 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.831e-05/0.01158, allocations: 71.28 kB / 0.7919 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.235e-05/0.01161, allocations: 0 / 0.7919 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.01163, allocations: 12.5 kB / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01163, allocations: 0 / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of Templates: time 0.004196/0.01583, allocations: 0.9594 MB / 0.7928 GB, free: 5.898 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 240] 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/jenkins/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: 7.959500220022164]