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.001234/0.001234, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002008/0.003243, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001076/0.001076, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002472, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9434/0.9434, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0821/1.026, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.24/2.24, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2171/2.457, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.493e-06/1.493e-06, allocations: 0 / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.096e-05, allocations: 2.312 kB / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002746/0.002767, allocations: 1.437 MB / 0.8204 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.149/0.1517, allocations: 143.5 MB / 0.9605 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.1518, allocations: 3.938 kB / 0.9605 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.032e-05/0.1518, allocations: 7.938 kB / 0.9605 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.1519, allocations: 39.92 kB / 0.9606 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.1527, allocations: 366.1 kB / 0.9609 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.814e-05/0.1528, allocations: 59.83 kB / 0.961 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.1529, allocations: 7.938 kB / 0.961 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.1529, allocations: 39.94 kB / 0.961 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.153, allocations: 51.88 kB / 0.9611 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.153, allocations: 4 kB / 0.9611 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.1536, allocations: 375.1 kB / 0.9614 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.1537, allocations: 27.86 kB / 0.9614 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.1537, allocations: 23.88 kB / 0.9615 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.1541, allocations: 251.3 kB / 0.9617 GB, free: 15.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.1541, allocations: 8 kB / 0.9617 GB, free: 15.69 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1541, allocations: 0 / 0.9617 GB, free: 15.69 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.1541, allocations: 0 / 0.9617 GB, free: 15.69 MB / 0.948 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.0003399/0.1544, allocations: 332 kB / 0.962 GB, free: 15.34 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1545, allocations: 12.03 kB / 0.962 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.1545, allocations: 0.9375 kB / 0.962 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.369e-05/0.1546, allocations: 121.4 kB / 0.9622 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1546, allocations: 4 kB / 0.9622 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.1546, allocations: 0 / 0.9622 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.199e-05/0.1547, allocations: 64.47 kB / 0.9622 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-06/0.1547, allocations: 4 kB / 0.9622 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.1547, allocations: 4 kB / 0.9622 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.1547, allocations: 8 kB / 0.9622 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.1548, allocations: 15.98 kB / 0.9623 GB, free: 15.08 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.155, allocations: 209.8 kB / 0.9625 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.963e-05/0.1551, allocations: 66.41 kB / 0.9625 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.1551, allocations: 20.86 kB / 0.9625 GB, free: 14.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.1554, allocations: 87.89 kB / 0.9626 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1554, allocations: 38.56 kB / 0.9627 GB, free: 14.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.1554, allocations: 0 / 0.9627 GB, free: 14.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0001101/0.1555, allocations: 65.61 kB / 0.9627 GB, free: 14.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.1556, allocations: 55.41 kB / 0.9628 GB, free: 14.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.108e-05/0.1556, allocations: 114.7 kB / 0.9629 GB, free: 14.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.1556, allocations: 33.64 kB / 0.9629 GB, free: 14.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.1557, allocations: 100.3 kB / 0.963 GB, free: 14.22 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.1557, allocations: 39.67 kB / 0.963 GB, free: 14.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.1557, allocations: 25.7 kB / 0.9631 GB, free: 14.15 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.1558, allocations: 330.8 kB / 0.9634 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.1558, allocations: 15.98 kB / 0.9634 GB, free: 13.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.85e-05/0.1558, allocations: 55.59 kB / 0.9635 GB, free: 13.73 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.382e-05/0.1559, allocations: 80.31 kB / 0.9635 GB, free: 13.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1559, allocations: 0 / 0.9635 GB, free: 13.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 9.802e-05/0.156, allocations: 101.5 kB / 0.9636 GB, free: 13.53 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.156, allocations: 4 kB / 0.9636 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.156, allocations: 4 kB / 0.9636 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.156, allocations: 0 / 0.9636 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.1561, allocations: 27.98 kB / 0.9637 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1561, allocations: 7.938 kB / 0.9637 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.1561, allocations: 15.89 kB / 0.9637 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1561, allocations: 4 kB / 0.9637 GB, free: 13.47 MB / 0.948 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.305e-05/0.1562, allocations: 124.5 kB / 0.9638 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.1562, allocations: 7.984 kB / 0.9638 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.1563, allocations: 82.19 kB / 0.9639 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1564, allocations: 0 / 0.9639 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1564, allocations: 3.938 kB / 0.9639 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1564, allocations: 0 / 0.9639 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.669e-05/0.1565, allocations: 81.78 kB / 0.964 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1565, allocations: 0 / 0.964 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.1565, allocations: 19.98 kB / 0.964 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.1565, allocations: 19.91 kB / 0.964 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1565, allocations: 4 kB / 0.964 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.1565, allocations: 4 kB / 0.964 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1565, allocations: 0 / 0.964 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1565, allocations: 0 / 0.964 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.289e-05/0.1566, allocations: 171.5 kB / 0.9642 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1566, allocations: 3.984 kB / 0.9642 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.798e-05/0.1567, allocations: 4 kB / 0.9642 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.1567, allocations: 7.984 kB / 0.9642 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1567, allocations: 256 / 0.9642 GB, free: 12.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.455e-05/0.1567, allocations: 20.84 kB / 0.9642 GB, free: 12.87 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1567, allocations: 0 / 0.9642 GB, free: 12.87 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00023/0.1569, allocations: 91.67 kB / 0.9643 GB, free: 12.78 MB / 0.948 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.0002575/0.1572, allocations: 188 kB / 0.9645 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.439e-05/0.1573, allocations: 60.64 kB / 0.9645 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.1573, allocations: 480 / 0.9645 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.1573, allocations: 36.84 kB / 0.9646 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.1574, allocations: 35.84 kB / 0.9646 GB, free: 12.45 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1587, allocations: 181.7 kB / 0.9648 GB, free: 12.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.054e-05/0.1587, allocations: 59.34 kB / 0.9648 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.175e-05/0.1588, allocations: 17.2 kB / 0.9649 GB, free: 12.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.1588, allocations: 67.36 kB / 0.9649 GB, free: 12.09 MB / 0.948 GB Notification: Performance of SimCode: time 6.61e-07/0.1588, allocations: 0 / 0.9649 GB, free: 12.09 MB / 0.948 GB Notification: Performance of Templates: time 0.003785/0.1626, allocations: 2.493 MB / 0.9674 GB, free: 9.656 MB / 0.948 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1014115158468485]