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.001477/0.001477, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0018/0.0018, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9508/0.9508, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.802/1.802, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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.312e-06/1.312e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.286e-05, allocations: 5.625 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002492/0.002515, allocations: 1.387 MB / 0.8142 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1459/0.1484, allocations: 141 MB / 0.9519 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.1484, allocations: 0 / 0.9519 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.057e-05/0.1485, allocations: 3.984 kB / 0.9519 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.1486, allocations: 51.81 kB / 0.9519 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008656/0.1495, allocations: 366.3 kB / 0.9523 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.935e-05/0.1496, allocations: 71.75 kB / 0.9523 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.1496, allocations: 0 / 0.9523 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.191e-05/0.1497, allocations: 39.95 kB / 0.9524 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.798e-05/0.1498, allocations: 55.86 kB / 0.9524 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1498, allocations: 4 kB / 0.9524 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005252/0.1503, allocations: 367 kB / 0.9528 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.1504, allocations: 31.91 kB / 0.9528 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.1504, allocations: 19.98 kB / 0.9528 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.1508, allocations: 299.1 kB / 0.9531 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1508, allocations: 4 kB / 0.9531 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1508, allocations: 0 / 0.9531 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1508, allocations: 0 / 0.9531 GB, free: 1.312 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.000339/0.1511, allocations: 427.9 kB / 0.9535 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1511, allocations: 8.031 kB / 0.9535 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.1512, allocations: 12.89 kB / 0.9535 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.057e-05/0.1512, allocations: 124.5 kB / 0.9537 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1512, allocations: 4.375 kB / 0.9537 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-06/0.1513, allocations: 4.375 kB / 0.9537 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.659e-05/0.1513, allocations: 57.55 kB / 0.9537 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1513, allocations: 4 kB / 0.9537 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.1514, allocations: 7.938 kB / 0.9537 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.1514, allocations: 8 kB / 0.9537 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.909e-05/0.1514, allocations: 30.22 kB / 0.9538 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.1517, allocations: 288.2 kB / 0.954 GB, free: 272 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.489e-05/0.1518, allocations: 78.89 kB / 0.9541 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.1518, allocations: 31.73 kB / 0.9541 GB, free: 144 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/0.1521, allocations: 79.91 kB / 0.9542 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.1521, allocations: 37.39 kB / 0.9543 GB, free: 16 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.1521, allocations: 0 / 0.9543 GB, free: 16 kB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0001568/0.1523, allocations: 89.66 kB / 0.9543 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.1523, allocations: 55.34 kB / 0.9544 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.1524, allocations: 165.9 kB / 0.9546 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.1524, allocations: 33.7 kB / 0.9546 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.1524, allocations: 143 kB / 0.9547 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.1525, allocations: 43.67 kB / 0.9548 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.1525, allocations: 43.34 kB / 0.9548 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1526, allocations: 0.4883 MB / 0.9553 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.1526, allocations: 15.98 kB / 0.9553 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.494e-05/0.1527, allocations: 70.09 kB / 0.9554 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/0.1527, allocations: 94.03 kB / 0.9555 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1527, allocations: 0 / 0.9555 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000116/0.1529, allocations: 117.4 kB / 0.9556 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1529, allocations: 8 kB / 0.9556 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1529, allocations: 0 / 0.9556 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1529, allocations: 4 kB / 0.9556 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.1529, allocations: 23.98 kB / 0.9556 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.1529, allocations: 4 kB / 0.9556 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.153, allocations: 15.89 kB / 0.9556 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.153, allocations: 0 / 0.9556 GB, free: 14.5 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.111e-05/0.153, allocations: 168.5 kB / 0.9558 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.1531, allocations: 8.094 kB / 0.9558 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1532, allocations: 106.4 kB / 0.9559 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1532, allocations: 0 / 0.9559 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1532, allocations: 4 kB / 0.9559 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1532, allocations: 4.188 kB / 0.9559 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.958e-05/0.1533, allocations: 113.2 kB / 0.956 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1533, allocations: 4 kB / 0.956 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.1533, allocations: 20 kB / 0.956 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1533, allocations: 0 / 0.956 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.1533, allocations: 4 kB / 0.956 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1533, allocations: 7.984 kB / 0.956 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1533, allocations: 0 / 0.956 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.1534, allocations: 223.8 kB / 0.9563 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.1535, allocations: 23.81 kB / 0.9563 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.1535, allocations: 7.938 kB / 0.9563 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.954e-05/0.1535, allocations: 0 / 0.9563 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.1535, allocations: 11.98 kB / 0.9563 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1535, allocations: 0 / 0.9563 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.1536, allocations: 127.2 kB / 0.9564 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1536, allocations: 0 / 0.9564 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00025/0.1538, allocations: 83.75 kB / 0.9565 GB, free: 13.54 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.0002455/0.1541, allocations: 182.9 kB / 0.9567 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.1541, allocations: 67.52 kB / 0.9567 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1541, allocations: 320 / 0.9567 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.1542, allocations: 40.05 kB / 0.9568 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.1544, allocations: 24.08 kB / 0.9568 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.1547, allocations: 170.7 kB / 0.957 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.442e-05/0.1548, allocations: 63.3 kB / 0.957 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.548e-05/0.1548, allocations: 20.47 kB / 0.957 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.1549, allocations: 86.19 kB / 0.9571 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of SimCode: time 9.01e-07/0.1549, allocations: 0 / 0.9571 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of Templates: time 0.004024/0.1589, allocations: 2.361 MB / 0.9594 GB, free: 10.53 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: 5.163088171277195]