Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 121.9 kB / 16.81 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 196.7 kB / 17.77 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.759/2.759, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.95 kB / 1.097 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.347, allocations: 168.7 MB / 1.262 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002676/0.3496, allocations: 1.334 MB / 1.263 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2044/0.5541, allocations: 148.3 MB / 1.408 GB, free: 6.598 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.5541, allocations: 4 kB / 1.408 GB, free: 6.594 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 4.51e-05/0.5542, allocations: 11.86 kB / 1.408 GB, free: 6.582 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.5544, allocations: 39.86 kB / 1.408 GB, free: 6.543 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.5557, allocations: 358.6 kB / 1.409 GB, free: 6.191 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.5559, allocations: 71.8 kB / 1.409 GB, free: 6.121 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.5559, allocations: 4 kB / 1.409 GB, free: 6.117 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.556, allocations: 31.92 kB / 1.409 GB, free: 6.086 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.5561, allocations: 59.84 kB / 1.409 GB, free: 6.027 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.5561, allocations: 4 kB / 1.409 GB, free: 6.023 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009694/0.5571, allocations: 427 kB / 1.409 GB, free: 5.605 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.5572, allocations: 27.91 kB / 1.409 GB, free: 5.578 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.5572, allocations: 23.88 kB / 1.409 GB, free: 5.555 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006871/0.5579, allocations: 275.2 kB / 1.409 GB, free: 5.285 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5579, allocations: 3.938 kB / 1.41 GB, free: 5.281 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5579, allocations: 4 kB / 1.41 GB, free: 5.277 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.5579, allocations: 0 / 1.41 GB, free: 5.277 MB / 1.123 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.000632/0.5586, allocations: 406.8 kB / 1.41 GB, free: 4.832 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5586, allocations: 11.97 kB / 1.41 GB, free: 4.82 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.5587, allocations: 8.938 kB / 1.41 GB, free: 4.812 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.5588, allocations: 164.3 kB / 1.41 GB, free: 4.613 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.5588, allocations: 3.938 kB / 1.41 GB, free: 4.609 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.5589, allocations: 4 kB / 1.41 GB, free: 4.605 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.5591, allocations: 97.58 kB / 1.41 GB, free: 4.504 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5591, allocations: 7.938 kB / 1.41 GB, free: 4.496 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.5591, allocations: 4 kB / 1.41 GB, free: 4.492 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.5591, allocations: 11.98 kB / 1.41 GB, free: 4.48 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.5593, allocations: 75.95 kB / 1.41 GB, free: 4.406 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.5598, allocations: 332.8 kB / 1.411 GB, free: 4.031 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.56, allocations: 102.6 kB / 1.411 GB, free: 3.922 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.5601, allocations: 48.78 kB / 1.411 GB, free: 3.871 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.5612, allocations: 477.5 kB / 1.411 GB, free: 3.312 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.5612, allocations: 34.56 kB / 1.411 GB, free: 3.27 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.5612, allocations: 0 / 1.411 GB, free: 3.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.0003009/0.5615, allocations: 114 kB / 1.411 GB, free: 3.152 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.5615, allocations: 67.28 kB / 1.411 GB, free: 3.074 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.5617, allocations: 113.8 kB / 1.411 GB, free: 2.953 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.5617, allocations: 29.7 kB / 1.412 GB, free: 2.918 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.5617, allocations: 96.28 kB / 1.412 GB, free: 2.82 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.5618, allocations: 39.62 kB / 1.412 GB, free: 2.781 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.5619, allocations: 37.66 kB / 1.412 GB, free: 2.738 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.562, allocations: 318.8 kB / 1.412 GB, free: 2.418 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.5621, allocations: 35.91 kB / 1.412 GB, free: 2.383 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-05/0.5622, allocations: 69.14 kB / 1.412 GB, free: 2.297 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.5623, allocations: 121.1 kB / 1.412 GB, free: 2.16 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5623, allocations: 0 / 1.412 GB, free: 2.16 MB / 1.123 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002328/0.5626, allocations: 133.5 kB / 1.412 GB, free: 2.023 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5626, allocations: 4 kB / 1.412 GB, free: 2.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5626, allocations: 4 kB / 1.412 GB, free: 2.016 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.5626, allocations: 0 / 1.412 GB, free: 2.016 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.5628, allocations: 31.92 kB / 1.412 GB, free: 1.984 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.5628, allocations: 12.08 kB / 1.412 GB, free: 1.973 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.5628, allocations: 15.89 kB / 1.412 GB, free: 1.957 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.5628, allocations: 4 kB / 1.412 GB, free: 1.953 MB / 1.123 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 0.0001134/0.5629, allocations: 125.8 kB / 1.413 GB, free: 1.82 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.563, allocations: 7.953 kB / 1.413 GB, free: 1.812 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.5632, allocations: 122 kB / 1.413 GB, free: 1.688 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.5632, allocations: 0 / 1.413 GB, free: 1.688 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5632, allocations: 7.938 kB / 1.413 GB, free: 1.68 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.745e-05/0.5633, allocations: 101 kB / 1.413 GB, free: 1.562 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.5633, allocations: 256 / 1.413 GB, free: 1.562 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.5634, allocations: 7.938 kB / 1.413 GB, free: 1.555 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.5634, allocations: 11.98 kB / 1.413 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001899/0.5636, allocations: 184.8 kB / 1.413 GB, free: 1.355 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002754/0.5639, allocations: 278.6 kB / 1.413 GB, free: 1.066 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.244e-05/0.564, allocations: 31.98 kB / 1.413 GB, free: 1.035 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.564, allocations: 87.27 kB / 1.413 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of Backend: time 2.4e-07/0.564, allocations: 0 / 1.413 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007972/0.5648, allocations: 242.2 kB / 1.414 GB, free: 0.707 MB / 1.123 GB Notification: Performance of SimCode: time 0.00062/0.5654, allocations: 0.6161 MB / 1.414 GB, free: 44 kB / 1.123 GB Notification: Performance of Templates: time 0.006437/0.5719, allocations: 2.395 MB / 1.417 GB, free: 13.7 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches