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.0009773/0.0009773, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.0009366/0.0009366, allocations: 173 kB / 23.28 MB, free: 1.219 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 0.9295/0.9295, allocations: 177.1 MB / 203.7 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.399/2.399, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 2.244e-06/2.244e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.397e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001883/0.001907, allocations: 1.348 MB / 0.8911 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003022, allocations: 0.7561 MB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.003051, allocations: 4 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.003076, allocations: 3.938 kB / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.365e-05/0.00314, allocations: 3.938 kB / 0.8918 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.003482, allocations: 95.83 kB / 0.8919 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.003546, allocations: 19.88 kB / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.003594, allocations: 7.984 kB / 0.892 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.323e-05/0.003637, allocations: 4 kB / 0.892 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.003695, allocations: 7.984 kB / 0.892 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.003712, allocations: 4 kB / 0.892 GB, free: 7.484 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.003969, allocations: 144 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.003987, allocations: 0 / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.004004, allocations: 8 kB / 0.8921 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.004177, allocations: 123.7 kB / 0.8922 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004179, allocations: 0 / 0.8922 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00418, allocations: 0 / 0.8922 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.004185, allocations: 4 kB / 0.8922 GB, free: 7.211 MB / 0.8542 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.0003223/0.004508, allocations: 360.5 kB / 0.8926 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.004558, allocations: 12.03 kB / 0.8926 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.004589, allocations: 0.9375 kB / 0.8926 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.133e-05/0.004681, allocations: 124.5 kB / 0.8927 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.004692, allocations: 384 / 0.8927 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.004698, allocations: 4.312 kB / 0.8927 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.05e-05/0.004779, allocations: 37.83 kB / 0.8928 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.004786, allocations: 0 / 0.8928 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.004793, allocations: 4 kB / 0.8928 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.004799, allocations: 0 / 0.8928 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.004827, allocations: 7.984 kB / 0.8928 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.004947, allocations: 93.27 kB / 0.8929 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.005024, allocations: 47.09 kB / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.00504, allocations: 11.69 kB / 0.8929 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007516/0.005791, allocations: 328.6 kB / 0.8932 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.005829, allocations: 37.39 kB / 0.8933 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.005831, allocations: 0 / 0.8933 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001296/0.005961, allocations: 53.58 kB / 0.8933 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.005991, allocations: 51.41 kB / 0.8934 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.006066, allocations: 161.9 kB / 0.8935 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.006077, allocations: 25.7 kB / 0.8935 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.006114, allocations: 130.9 kB / 0.8937 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.006143, allocations: 7.891 kB / 0.8937 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.006171, allocations: 23.36 kB / 0.8937 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.006294, allocations: 492.1 kB / 0.8942 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-06/0.006301, allocations: 4 kB / 0.8942 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-06/0.006311, allocations: 4 kB / 0.8942 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.00634, allocations: 24.06 kB / 0.8942 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006341, allocations: 4 kB / 0.8942 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.796e-05/0.006389, allocations: 41.69 kB / 0.8942 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.006404, allocations: 6.344 kB / 0.8942 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.00641, allocations: 7.922 kB / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.006422, allocations: 3.938 kB / 0.8943 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.006462, allocations: 4 kB / 0.8943 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.006466, allocations: 0 / 0.8943 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.006477, allocations: 4 kB / 0.8943 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.006481, allocations: 0 / 0.8943 GB, free: 4.945 MB / 0.8542 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 7.34e-05/0.006554, allocations: 156.6 kB / 0.8944 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-06/0.00656, allocations: 11.95 kB / 0.8944 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.006647, allocations: 49.38 kB / 0.8945 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.00665, allocations: 3.938 kB / 0.8945 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.006653, allocations: 7.922 kB / 0.8945 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006656, allocations: 0 / 0.8945 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.029e-05/0.006727, allocations: 93.27 kB / 0.8946 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.006729, allocations: 4 kB / 0.8946 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.006743, allocations: 7.938 kB / 0.8946 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.006745, allocations: 0 / 0.8946 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.006749, allocations: 4 kB / 0.8946 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.00675, allocations: 0 / 0.8946 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.00675, allocations: 4 kB / 0.8946 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.075e-05/0.006811, allocations: 80.38 kB / 0.8947 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-06/0.006817, allocations: 0 / 0.8947 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-06/0.006826, allocations: 3.984 kB / 0.8947 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-06/0.006831, allocations: 0 / 0.8947 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.006845, allocations: 7.938 kB / 0.8947 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-06/0.006846, allocations: 0 / 0.8947 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.389e-05/0.00688, allocations: 119.2 kB / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00688, allocations: 0 / 0.8948 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000144/0.007024, allocations: 39.97 kB / 0.8948 GB, free: 4.293 MB / 0.8542 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.0001759/0.0072, allocations: 131.1 kB / 0.895 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.5e-05/0.007265, allocations: 15.69 kB / 0.895 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007267, allocations: 0 / 0.895 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.007279, allocations: 19.67 kB / 0.895 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.007421, allocations: 8 kB / 0.895 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.007799, allocations: 114.3 kB / 0.8951 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.385e-05/0.007833, allocations: 55.34 kB / 0.8952 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.013e-05/0.007853, allocations: 7.938 kB / 0.8952 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.007898, allocations: 70.2 kB / 0.8952 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of SimCode: time 9.62e-07/0.007899, allocations: 4 kB / 0.8952 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of Templates: time 0.003019/0.01092, allocations: 1.072 MB / 0.8963 GB, free: 2.746 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6852131970226765]