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.001431/0.001431, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001661/0.001661, allocations: 161 kB / 24.16 MB, free: 328 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 1.007/1.007, allocations: 177.2 MB / 204.6 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.819/1.819, allocations: 377.9 MB / 0.624 GB, free: 8.328 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.142e-06/1.142e-06, allocations: 0 / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.253e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.005245/0.005257, allocations: 1.439 MB / 0.7615 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1276/0.1329, allocations: 143.1 MB / 0.9012 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.133, allocations: 0 / 0.9012 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/0.133, allocations: 0 / 0.9012 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1332, allocations: 35.92 kB / 0.9013 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009156/0.1341, allocations: 370.1 kB / 0.9016 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1342, allocations: 67.75 kB / 0.9017 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.1342, allocations: 7.984 kB / 0.9017 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.674e-05/0.1343, allocations: 31.97 kB / 0.9017 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.1344, allocations: 51.88 kB / 0.9018 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1344, allocations: 4 kB / 0.9018 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008243/0.1352, allocations: 383 kB / 0.9021 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.1353, allocations: 31.91 kB / 0.9022 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.1353, allocations: 23.98 kB / 0.9022 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.1356, allocations: 291.2 kB / 0.9025 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1356, allocations: 0 / 0.9025 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.684e-06/0.1356, allocations: 3.938 kB / 0.9025 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.1356, allocations: 0 / 0.9025 GB, free: 4.375 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003112/0.1359, allocations: 304.3 kB / 0.9028 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.136, allocations: 8.031 kB / 0.9028 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.136, allocations: 8.922 kB / 0.9028 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.981e-05/0.1361, allocations: 113.7 kB / 0.9029 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1361, allocations: 4.375 kB / 0.9029 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.1361, allocations: 8.375 kB / 0.9029 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.696e-05/0.1362, allocations: 60.44 kB / 0.903 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1362, allocations: 3.938 kB / 0.903 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.1362, allocations: 0 / 0.903 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.1362, allocations: 15.98 kB / 0.903 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.464e-05/0.1362, allocations: 23.92 kB / 0.903 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.1365, allocations: 213.7 kB / 0.9032 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.527e-05/0.1365, allocations: 62.42 kB / 0.9033 GB, free: 3.484 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.1366, allocations: 24.84 kB / 0.9033 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.1368, allocations: 86.97 kB / 0.9034 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.1369, allocations: 34.56 kB / 0.9034 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.1369, allocations: 0 / 0.9034 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.000106/0.137, allocations: 65.67 kB / 0.9035 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.137, allocations: 55.34 kB / 0.9035 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.005e-05/0.137, allocations: 114.6 kB / 0.9036 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.1371, allocations: 33.7 kB / 0.9037 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.1371, allocations: 96.34 kB / 0.9038 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.1371, allocations: 35.69 kB / 0.9038 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.1371, allocations: 33.7 kB / 0.9038 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.1372, allocations: 322.8 kB / 0.9041 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.1372, allocations: 11.94 kB / 0.9041 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.1373, allocations: 63.17 kB / 0.9042 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.841e-05/0.1373, allocations: 71.89 kB / 0.9043 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1373, allocations: 0 / 0.9043 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.273e-05/0.1374, allocations: 93.53 kB / 0.9044 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1374, allocations: 4 kB / 0.9044 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1374, allocations: 7.938 kB / 0.9044 GB, free: 2.246 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1374, allocations: 0 / 0.9044 GB, free: 2.246 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.1375, allocations: 31.92 kB / 0.9044 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.1375, allocations: 0 / 0.9044 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.1375, allocations: 11.95 kB / 0.9044 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1375, allocations: 4 kB / 0.9044 GB, free: 2.199 MB / 0.8542 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.096e-05/0.1376, allocations: 136.7 kB / 0.9045 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.1376, allocations: 4 kB / 0.9046 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.1377, allocations: 90.47 kB / 0.9046 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1377, allocations: 0 / 0.9046 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.1377, allocations: 0 / 0.9046 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1377, allocations: 0 / 0.9046 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.008e-05/0.1378, allocations: 73.89 kB / 0.9047 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1378, allocations: 7.938 kB / 0.9047 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.1378, allocations: 20.17 kB / 0.9047 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.1378, allocations: 4 kB / 0.9047 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1378, allocations: 12 kB / 0.9048 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1378, allocations: 0 / 0.9048 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1378, allocations: 0 / 0.9048 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.452e-05/0.1379, allocations: 163.4 kB / 0.9049 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.1379, allocations: 23.81 kB / 0.9049 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-06/0.1379, allocations: 0 / 0.9049 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.138, allocations: 0 / 0.9049 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.138, allocations: 11.98 kB / 0.9049 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.138, allocations: 0 / 0.9049 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.147e-06/0.138, allocations: 12.86 kB / 0.905 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.138, allocations: 4 kB / 0.905 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001855/0.1382, allocations: 79.73 kB / 0.905 GB, free: 1.508 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 (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.0002172/0.1384, allocations: 172 kB / 0.9052 GB, free: 1.332 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.023e-05/0.1384, allocations: 52.97 kB / 0.9052 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1385, allocations: 4.062 kB / 0.9053 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.016e-05/0.1385, allocations: 33.2 kB / 0.9053 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1386, allocations: 21.16 kB / 0.9053 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.1389, allocations: 170.7 kB / 0.9055 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.139, allocations: 63.34 kB / 0.9055 GB, free: 0.9414 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.139, allocations: 12.48 kB / 0.9055 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.139, allocations: 71.34 kB / 0.9056 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/0.139, allocations: 0 / 0.9056 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of Templates: time 0.003392/0.1424, allocations: 2.342 MB / 0.9079 GB, free: 14.57 MB / 0.8698 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 -s gbode -gbm=radauIIA3 -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.963985176756978]