Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008925/0.0008925, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.0009123/0.0009123, allocations: 169 kB / 23.82 MB, free: 0.7383 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.8513/0.8513, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.754/1.754, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04e-05/1.145e-05, allocations: 3.156 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001408/0.00142, allocations: 1.39 MB / 0.8129 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1078/0.1092, allocations: 143.7 MB / 0.9532 GB, free: 168 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.1093, allocations: 4 kB / 0.9532 GB, free: 164 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.71e-05/0.1093, allocations: 0 / 0.9532 GB, free: 164 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1095, allocations: 55.78 kB / 0.9533 GB, free: 108 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/0.1104, allocations: 366.3 kB / 0.9537 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 9.296e-05/0.1105, allocations: 67.75 kB / 0.9537 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.1105, allocations: 7.984 kB / 0.9537 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.1105, allocations: 31.97 kB / 0.9538 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.1106, allocations: 63.84 kB / 0.9538 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1106, allocations: 0 / 0.9538 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.1111, allocations: 367 kB / 0.9542 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.1112, allocations: 27.91 kB / 0.9542 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.1112, allocations: 20 kB / 0.9542 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.1115, allocations: 303.1 kB / 0.9545 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1115, allocations: 0 / 0.9545 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1115, allocations: 0 / 0.9545 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1115, allocations: 0 / 0.9545 GB, free: 14.88 MB / 0.9167 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.0003426/0.1119, allocations: 431.9 kB / 0.9549 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.1119, allocations: 8.031 kB / 0.9549 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.1119, allocations: 8.891 kB / 0.9549 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.519e-05/0.112, allocations: 112.6 kB / 0.955 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.112, allocations: 4.375 kB / 0.955 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.112, allocations: 384 / 0.955 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1121, allocations: 73.53 kB / 0.9551 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1122, allocations: 0 / 0.9551 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1122, allocations: 4 kB / 0.9551 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.1122, allocations: 15.98 kB / 0.9551 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.511e-05/0.1123, allocations: 31.97 kB / 0.9552 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.1126, allocations: 315.5 kB / 0.9555 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.62e-05/0.1127, allocations: 78.97 kB / 0.9555 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.1127, allocations: 31.73 kB / 0.9556 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003419/0.113, allocations: 83.91 kB / 0.9556 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.1131, allocations: 33.39 kB / 0.9557 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 2.875e-06/0.1131, allocations: 3.984 kB / 0.9557 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0001663/0.1132, allocations: 97.66 kB / 0.9558 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.1133, allocations: 55.34 kB / 0.9558 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.945e-05/0.1133, allocations: 173.9 kB / 0.956 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.1133, allocations: 25.7 kB / 0.956 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.1134, allocations: 151 kB / 0.9562 GB, free: 13 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.1134, allocations: 35.69 kB / 0.9562 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.1134, allocations: 39.38 kB / 0.9562 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1135, allocations: 0.4961 MB / 0.9567 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.1136, allocations: 15.98 kB / 0.9567 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.1136, allocations: 74.11 kB / 0.9568 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.105e-05/0.1137, allocations: 98.05 kB / 0.9569 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1137, allocations: 0 / 0.9569 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001126/0.1138, allocations: 125.4 kB / 0.957 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1138, allocations: 8 kB / 0.957 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1138, allocations: 0 / 0.957 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1138, allocations: 256 / 0.957 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.1139, allocations: 27.98 kB / 0.9571 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1139, allocations: 4 kB / 0.9571 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.1139, allocations: 11.89 kB / 0.9571 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1139, allocations: 12 kB / 0.9571 GB, free: 11.98 MB / 0.9167 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.074e-05/0.114, allocations: 168.6 kB / 0.9572 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.114, allocations: 8 kB / 0.9572 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.1141, allocations: 110.4 kB / 0.9574 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1141, allocations: 0 / 0.9574 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1142, allocations: 0 / 0.9574 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.1142, allocations: 0 / 0.9574 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.659e-05/0.1143, allocations: 132.5 kB / 0.9575 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.1143, allocations: 3.938 kB / 0.9575 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.1143, allocations: 23.98 kB / 0.9575 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1143, allocations: 4 kB / 0.9575 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.1143, allocations: 0 / 0.9575 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1143, allocations: 4 kB / 0.9575 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1143, allocations: 0 / 0.9575 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.1144, allocations: 227.8 kB / 0.9577 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.1144, allocations: 19.88 kB / 0.9577 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.1144, allocations: 4 kB / 0.9578 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.77e-05/0.1145, allocations: 3.984 kB / 0.9578 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.1145, allocations: 15.88 kB / 0.9578 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1145, allocations: 3.984 kB / 0.9578 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.1145, allocations: 127.2 kB / 0.9579 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1145, allocations: 4 kB / 0.9579 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002224/0.1147, allocations: 79.73 kB / 0.958 GB, free: 10.99 MB / 0.9167 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.0002366/0.115, allocations: 182.9 kB / 0.9582 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.1151, allocations: 69.61 kB / 0.9582 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1151, allocations: 4.062 kB / 0.9582 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.1151, allocations: 47.69 kB / 0.9583 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.1153, allocations: 20.06 kB / 0.9583 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/0.1157, allocations: 170.8 kB / 0.9584 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.395e-05/0.1157, allocations: 63.34 kB / 0.9585 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.912e-05/0.1158, allocations: 44.59 kB / 0.9586 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.1158, allocations: 20.44 kB / 0.9586 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.1158, allocations: 0 / 0.9586 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of Templates: time 0.003628/0.1195, allocations: 2.285 MB / 0.9608 GB, free: 8.094 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.67432501912117]