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.0009266/0.0009266, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009401/0.0009401, allocations: 185 kB / 24.09 MB, free: 416 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.8965/0.8965, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.784/1.784, allocations: 377.9 MB / 0.624 GB, free: 8.414 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.182e-06/1.182e-06, allocations: 0.6562 kB / 0.8121 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.388e-05, allocations: 7.031 kB / 0.8121 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00146/0.001474, allocations: 1.388 MB / 0.8134 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1063/0.1078, allocations: 141 MB / 0.9511 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.1079, allocations: 0 / 0.9511 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.055e-05/0.1079, allocations: 7.922 kB / 0.9511 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.108, allocations: 43.88 kB / 0.9511 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.1121, allocations: 370.2 kB / 0.9515 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1122, allocations: 75.75 kB / 0.9516 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.142e-05/0.1123, allocations: 0 / 0.9516 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.593e-05/0.1123, allocations: 39.89 kB / 0.9516 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1124, allocations: 59.92 kB / 0.9517 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1124, allocations: 4 kB / 0.9517 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007276/0.1132, allocations: 366.9 kB / 0.952 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.1132, allocations: 27.97 kB / 0.952 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.1133, allocations: 27.92 kB / 0.9521 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0005793/0.1138, allocations: 287.2 kB / 0.9523 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1139, allocations: 0 / 0.9523 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1139, allocations: 4 kB / 0.9523 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1139, allocations: 0 / 0.9523 GB, free: 1.281 MB / 0.9011 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.0004472/0.1143, allocations: 431.9 kB / 0.9527 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1143, allocations: 16.02 kB / 0.9528 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.1144, allocations: 8.891 kB / 0.9528 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.1145, allocations: 116.5 kB / 0.9529 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1145, allocations: 4.359 kB / 0.9529 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1145, allocations: 4.375 kB / 0.9529 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.1146, allocations: 57.61 kB / 0.9529 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.1146, allocations: 0 / 0.9529 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1146, allocations: 0 / 0.9529 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.1146, allocations: 11.98 kB / 0.953 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/0.1147, allocations: 27.97 kB / 0.953 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.115, allocations: 300.1 kB / 0.9533 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.1151, allocations: 71.03 kB / 0.9533 GB, free: 152 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.1152, allocations: 31.73 kB / 0.9534 GB, free: 116 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004539/0.1156, allocations: 86.28 kB / 0.9535 GB, free: 32 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.1157, allocations: 41.47 kB / 0.9535 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.1157, allocations: 0 / 0.9535 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0001876/0.1159, allocations: 85.59 kB / 0.9536 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.1159, allocations: 55.41 kB / 0.9536 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.116, allocations: 177.8 kB / 0.9538 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.116, allocations: 29.7 kB / 0.9538 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.1161, allocations: 147 kB / 0.954 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1161, allocations: 39.67 kB / 0.954 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.1161, allocations: 43.34 kB / 0.954 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1163, allocations: 0.4883 MB / 0.9545 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.629e-05/0.1163, allocations: 11.98 kB / 0.9545 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.1164, allocations: 78.03 kB / 0.9546 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.992e-05/0.1165, allocations: 102 kB / 0.9547 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1165, allocations: 0 / 0.9547 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001527/0.1166, allocations: 105.5 kB / 0.9548 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1166, allocations: 4 kB / 0.9548 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1166, allocations: 0 / 0.9548 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1167, allocations: 4 kB / 0.9548 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.1167, allocations: 32.08 kB / 0.9548 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.1167, allocations: 4 kB / 0.9548 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.1168, allocations: 15.89 kB / 0.9549 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1168, allocations: 4 kB / 0.9549 GB, free: 14.45 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 8.033e-05/0.1169, allocations: 164.5 kB / 0.955 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.1169, allocations: 4 kB / 0.955 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.1171, allocations: 110.3 kB / 0.9551 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1171, allocations: 0 / 0.9551 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1171, allocations: 4 kB / 0.9551 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1171, allocations: 0 / 0.9551 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.1172, allocations: 117.2 kB / 0.9552 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1172, allocations: 0 / 0.9552 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.1173, allocations: 12 kB / 0.9553 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1173, allocations: 0 / 0.9553 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1173, allocations: 11.98 kB / 0.9553 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1173, allocations: 0 / 0.9553 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1173, allocations: 0 / 0.9553 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.1175, allocations: 235.7 kB / 0.9555 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.1175, allocations: 15.88 kB / 0.9555 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.1175, allocations: 8 kB / 0.9555 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.116e-05/0.1176, allocations: 0 / 0.9555 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.1176, allocations: 7.984 kB / 0.9555 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1176, allocations: 8.234 kB / 0.9555 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.1176, allocations: 135.2 kB / 0.9557 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1176, allocations: 0 / 0.9557 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003759/0.118, allocations: 71.75 kB / 0.9557 GB, free: 13.5 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.0003198/0.1183, allocations: 190.9 kB / 0.9559 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.1185, allocations: 71.45 kB / 0.956 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1185, allocations: 0 / 0.956 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.1185, allocations: 28.11 kB / 0.956 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1188, allocations: 28.12 kB / 0.956 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.1193, allocations: 179 kB / 0.9562 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.1193, allocations: 63.34 kB / 0.9563 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.885e-05/0.1194, allocations: 12.44 kB / 0.9563 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.1194, allocations: 86.19 kB / 0.9564 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of SimCode: time 6.82e-07/0.1194, allocations: 0 / 0.9564 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of Templates: time 0.005072/0.1245, allocations: 2.339 MB / 0.9586 GB, free: 10.51 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.877548492979258]