Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.0009327/0.0009327, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.001021/0.001021, allocations: 165 kB / 24.05 MB, free: 464 kB / 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.8904/0.8904, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.049/2.049, allocations: 429.5 MB / 0.6743 GB, free: 3.879 MB / 0.6355 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.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.8794 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.337e-05, allocations: 9.781 kB / 0.8795 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001556/0.001569, allocations: 1.398 MB / 0.8808 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1124/0.114, allocations: 141 MB / 1.019 GB, free: 7.051 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.114, allocations: 0 / 1.019 GB, free: 7.051 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.114, allocations: 0 / 1.019 GB, free: 7.051 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.1142, allocations: 47.8 kB / 1.019 GB, free: 7.004 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008643/0.1151, allocations: 370.3 kB / 1.019 GB, free: 6.641 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.1152, allocations: 75.73 kB / 1.019 GB, free: 6.566 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.212e-05/0.1152, allocations: 0 / 1.019 GB, free: 6.566 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.1153, allocations: 35.95 kB / 1.019 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 9.749e-05/0.1153, allocations: 59.86 kB / 1.019 GB, free: 6.473 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1154, allocations: 4 kB / 1.019 GB, free: 6.469 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.1159, allocations: 363 kB / 1.019 GB, free: 6.113 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.1159, allocations: 27.91 kB / 1.019 GB, free: 6.086 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.116, allocations: 27.97 kB / 1.019 GB, free: 6.059 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.1163, allocations: 299.1 kB / 1.02 GB, free: 5.766 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1163, allocations: 0 / 1.02 GB, free: 5.766 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1163, allocations: 4 kB / 1.02 GB, free: 5.762 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1163, allocations: 0 / 1.02 GB, free: 5.762 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003302/0.1166, allocations: 427.9 kB / 1.02 GB, free: 5.309 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.1167, allocations: 8.031 kB / 1.02 GB, free: 5.301 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.1167, allocations: 8.891 kB / 1.02 GB, free: 5.293 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.462e-05/0.1168, allocations: 116.3 kB / 1.02 GB, free: 5.152 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1168, allocations: 3.984 kB / 1.02 GB, free: 5.148 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.1168, allocations: 8 kB / 1.02 GB, free: 5.141 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.35e-05/0.1169, allocations: 57.61 kB / 1.02 GB, free: 5.078 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1169, allocations: 0 / 1.02 GB, free: 5.078 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-06/0.1169, allocations: 0 / 1.02 GB, free: 5.078 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.1169, allocations: 19.92 kB / 1.02 GB, free: 5.059 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.795e-05/0.1169, allocations: 23.97 kB / 1.02 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.1172, allocations: 292.2 kB / 1.021 GB, free: 4.723 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 8.14e-05/0.1173, allocations: 70.97 kB / 1.021 GB, free: 4.641 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.1173, allocations: 35.72 kB / 1.021 GB, free: 4.602 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/0.1176, allocations: 79.78 kB / 1.021 GB, free: 4.527 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1177, allocations: 41.39 kB / 1.021 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=11): time 8.52e-07/0.1177, allocations: 0 / 1.021 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.000142/0.1178, allocations: 85.59 kB / 1.021 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.1178, allocations: 55.41 kB / 1.021 GB, free: 4.32 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.862e-05/0.1179, allocations: 173.8 kB / 1.021 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.1179, allocations: 29.7 kB / 1.021 GB, free: 4.098 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.118, allocations: 147 kB / 1.021 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.118, allocations: 43.67 kB / 1.021 GB, free: 3.906 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.118, allocations: 39.36 kB / 1.021 GB, free: 3.859 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.1181, allocations: 0.4884 MB / 1.022 GB, free: 3.359 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.1181, allocations: 8 kB / 1.022 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.624e-05/0.1182, allocations: 81.31 kB / 1.022 GB, free: 3.25 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.928e-05/0.1182, allocations: 90.05 kB / 1.022 GB, free: 3.137 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1182, allocations: 0 / 1.022 GB, free: 3.137 MB / 0.9792 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001107/0.1184, allocations: 117.4 kB / 1.022 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1184, allocations: 4 kB / 1.022 GB, free: 3.012 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1184, allocations: 4.25 kB / 1.022 GB, free: 3.008 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.1184, allocations: 0 / 1.022 GB, free: 3.008 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.1185, allocations: 31.98 kB / 1.022 GB, free: 2.977 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1185, allocations: 3.984 kB / 1.022 GB, free: 2.973 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.1185, allocations: 19.83 kB / 1.022 GB, free: 2.953 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.1185, allocations: 4 kB / 1.022 GB, free: 2.949 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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 6.385e-05/0.1186, allocations: 164.7 kB / 1.022 GB, free: 2.777 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.1186, allocations: 11.95 kB / 1.022 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.1187, allocations: 102.5 kB / 1.023 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1187, allocations: 0 / 1.023 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1187, allocations: 0 / 1.023 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1187, allocations: 3.938 kB / 1.023 GB, free: 2.656 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.935e-05/0.1188, allocations: 113.2 kB / 1.023 GB, free: 2.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1188, allocations: 0 / 1.023 GB, free: 2.52 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.1188, allocations: 23.98 kB / 1.023 GB, free: 2.496 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1188, allocations: 4 kB / 1.023 GB, free: 2.492 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.1188, allocations: 0 / 1.023 GB, free: 2.492 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1189, allocations: 0 / 1.023 GB, free: 2.492 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1189, allocations: 0 / 1.023 GB, free: 2.492 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.119, allocations: 227.8 kB / 1.023 GB, free: 2.25 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.119, allocations: 15.88 kB / 1.023 GB, free: 2.234 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.119, allocations: 7.938 kB / 1.023 GB, free: 2.227 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.119, allocations: 7.938 kB / 1.023 GB, free: 2.219 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.119, allocations: 3.984 kB / 1.023 GB, free: 2.215 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.119, allocations: 8 kB / 1.023 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.1191, allocations: 127.2 kB / 1.023 GB, free: 2.082 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1191, allocations: 4 kB / 1.023 GB, free: 2.078 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002412/0.1193, allocations: 79.73 kB / 1.023 GB, free: 2 MB / 0.9792 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 (11): * Single equations (assignments): 11 * 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.0002407/0.1196, allocations: 190.9 kB / 1.023 GB, free: 1.801 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 9.736e-05/0.1196, allocations: 63.77 kB / 1.023 GB, free: 1.734 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.1196, allocations: 8 kB / 1.023 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.272e-05/0.1197, allocations: 36.05 kB / 1.023 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.1199, allocations: 21.05 kB / 1.023 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.1202, allocations: 162.9 kB / 1.024 GB, free: 1.48 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.493e-05/0.1202, allocations: 63.34 kB / 1.024 GB, free: 1.398 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.304e-05/0.1203, allocations: 20.36 kB / 1.024 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.1203, allocations: 86.19 kB / 1.024 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/0.1203, allocations: 0 / 1.024 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of Templates: time 0.00382/0.1242, allocations: 2.357 MB / 1.026 GB, free: 15 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.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.085995488800108]