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.0009135/0.0009135, allocations: 81.95 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.0009523/0.0009523, allocations: 170 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.8929/0.8929, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.286/2.286, allocations: 438.1 MB / 0.682 GB, free: 14.16 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.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.363e-06/1.363e-06, allocations: 0 / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.723e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001737/0.001754, allocations: 1.41 MB / 0.8912 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1186/0.1204, allocations: 141 MB / 1.029 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.1204, allocations: 3.938 kB / 1.029 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.1205, allocations: 3.984 kB / 1.029 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.1206, allocations: 43.88 kB / 1.029 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008984/0.1215, allocations: 378.1 kB / 1.029 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.1216, allocations: 63.83 kB / 1.029 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.097e-05/0.1216, allocations: 4 kB / 1.029 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/0.1217, allocations: 47.88 kB / 1.029 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.277e-05/0.1218, allocations: 51.94 kB / 1.029 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1218, allocations: 4 kB / 1.029 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.1222, allocations: 366.9 kB / 1.03 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.1223, allocations: 35.95 kB / 1.03 GB, free: 9.797 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.1223, allocations: 19.94 kB / 1.03 GB, free: 9.777 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.1226, allocations: 291.2 kB / 1.03 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1226, allocations: 4 kB / 1.03 GB, free: 9.488 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1226, allocations: 0 / 1.03 GB, free: 9.488 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1226, allocations: 0 / 1.03 GB, free: 9.488 MB / 0.9948 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.0003111/0.123, allocations: 427.6 kB / 1.031 GB, free: 9.035 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.123, allocations: 12.61 kB / 1.031 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.123, allocations: 16.83 kB / 1.031 GB, free: 9.008 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.971e-05/0.1231, allocations: 120.3 kB / 1.031 GB, free: 8.863 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1231, allocations: 0 / 1.031 GB, free: 8.863 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-06/0.1231, allocations: 4 kB / 1.031 GB, free: 8.859 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.03e-05/0.1232, allocations: 53.67 kB / 1.031 GB, free: 8.801 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.1232, allocations: 0 / 1.031 GB, free: 8.801 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.1232, allocations: 0 / 1.031 GB, free: 8.801 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.1232, allocations: 15.98 kB / 1.031 GB, free: 8.785 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.1233, allocations: 26.45 kB / 1.031 GB, free: 8.762 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.1235, allocations: 296.2 kB / 1.031 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.1236, allocations: 67.03 kB / 1.031 GB, free: 8.367 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.1236, allocations: 35.73 kB / 1.031 GB, free: 8.328 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004712/0.1241, allocations: 83.88 kB / 1.031 GB, free: 8.246 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.1241, allocations: 37.39 kB / 1.031 GB, free: 8.199 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1241, allocations: 0 / 1.031 GB, free: 8.199 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0001323/0.1242, allocations: 85.56 kB / 1.031 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.1243, allocations: 55.41 kB / 1.031 GB, free: 8.043 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/0.1243, allocations: 181.8 kB / 1.032 GB, free: 7.848 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.1243, allocations: 29.7 kB / 1.032 GB, free: 7.812 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.1244, allocations: 147.1 kB / 1.032 GB, free: 7.664 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.1244, allocations: 35.69 kB / 1.032 GB, free: 7.629 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.1244, allocations: 43.34 kB / 1.032 GB, free: 7.578 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.1245, allocations: 0.4884 MB / 1.032 GB, free: 7.078 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.1245, allocations: 19.86 kB / 1.032 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.1246, allocations: 70.11 kB / 1.032 GB, free: 6.965 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.1246, allocations: 98.03 kB / 1.032 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1246, allocations: 0 / 1.032 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 9.578e-05/0.1247, allocations: 105.5 kB / 1.033 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.1247, allocations: 4 kB / 1.033 GB, free: 6.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1247, allocations: 4 kB / 1.033 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1248, allocations: 256 / 1.033 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.1248, allocations: 35.86 kB / 1.033 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1248, allocations: 8.156 kB / 1.033 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.87e-05/0.1248, allocations: 19.83 kB / 1.033 GB, free: 6.664 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.1249, allocations: 4 kB / 1.033 GB, free: 6.66 MB / 0.9948 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 5.818e-05/0.1249, allocations: 164.5 kB / 1.033 GB, free: 6.488 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.1249, allocations: 11.94 kB / 1.033 GB, free: 6.477 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.125, allocations: 98.52 kB / 1.033 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.125, allocations: 0 / 1.033 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.125, allocations: 0 / 1.033 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.125, allocations: 7.938 kB / 1.033 GB, free: 6.363 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.441e-05/0.1251, allocations: 117.2 kB / 1.033 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1251, allocations: 0 / 1.033 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.182e-05/0.1252, allocations: 19.94 kB / 1.033 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1252, allocations: 0 / 1.033 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.1252, allocations: 7.984 kB / 1.033 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.1252, allocations: 0 / 1.033 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1252, allocations: 0 / 1.033 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.639e-05/0.1253, allocations: 227.8 kB / 1.033 GB, free: 5.953 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.1253, allocations: 15.88 kB / 1.033 GB, free: 5.938 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.1253, allocations: 4 kB / 1.033 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.767e-05/0.1253, allocations: 8 kB / 1.033 GB, free: 5.926 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.1253, allocations: 3.984 kB / 1.033 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1254, allocations: 4 kB / 1.033 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.045e-05/0.1254, allocations: 131.2 kB / 1.033 GB, free: 5.789 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1254, allocations: 0 / 1.033 GB, free: 5.789 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002061/0.1256, allocations: 75.73 kB / 1.033 GB, free: 5.715 MB / 0.9948 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.0002285/0.1258, allocations: 202.8 kB / 1.034 GB, free: 5.508 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.089e-05/0.1259, allocations: 59.53 kB / 1.034 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1259, allocations: 0 / 1.034 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.087e-05/0.1259, allocations: 31.61 kB / 1.034 GB, free: 5.41 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.1261, allocations: 20.17 kB / 1.034 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.1264, allocations: 175.2 kB / 1.034 GB, free: 5.191 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.229e-05/0.1265, allocations: 63.34 kB / 1.034 GB, free: 5.109 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.855e-05/0.1265, allocations: 13.09 kB / 1.034 GB, free: 5.098 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.1266, allocations: 86.19 kB / 1.034 GB, free: 5.012 MB / 0.9948 GB Notification: Performance of SimCode: time 8.82e-07/0.1266, allocations: 0 / 1.034 GB, free: 5.012 MB / 0.9948 GB Notification: Performance of Templates: time 0.003675/0.1302, allocations: 2.363 MB / 1.036 GB, free: 2.719 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.188273889943957]