Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0007756/0.0007756, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004739/0.004739, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437.8 MB / 0.7121 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003239, allocations: 8 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5789/0.5793, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001349/0.5806, allocations: 1.066 MB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1447/0.7253, allocations: 144 MB / 1.165 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.7254, allocations: 0 / 1.165 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.7254, allocations: 0 / 1.165 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.7256, allocations: 55.84 kB / 1.165 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.7266, allocations: 310.9 kB / 1.165 GB, free: 13.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.7268, allocations: 187.7 kB / 1.165 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.7269, allocations: 4 kB / 1.165 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.794e-05/0.7269, allocations: 39.8 kB / 1.165 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.7271, allocations: 59.88 kB / 1.165 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.7271, allocations: 0 / 1.165 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007832/0.7279, allocations: 443 kB / 1.166 GB, free: 13.11 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.048e-05/0.728, allocations: 23.97 kB / 1.166 GB, free: 13.08 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.728, allocations: 57.55 kB / 1.166 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.7285, allocations: 289.3 kB / 1.166 GB, free: 12.74 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.7285, allocations: 0 / 1.166 GB, free: 12.74 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7285, allocations: 0 / 1.166 GB, free: 12.74 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.7285, allocations: 4 kB / 1.166 GB, free: 12.73 MB / 0.92 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.0003967/0.7289, allocations: 387.3 kB / 1.167 GB, free: 12.31 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.729, allocations: 11.98 kB / 1.167 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.729, allocations: 8.844 kB / 1.167 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.7291, allocations: 160.4 kB / 1.167 GB, free: 12.09 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.7292, allocations: 15.88 kB / 1.167 GB, free: 12.08 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.7292, allocations: 0 / 1.167 GB, free: 12.08 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.7294, allocations: 99.92 kB / 1.167 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.7294, allocations: 0 / 1.167 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.7294, allocations: 3.984 kB / 1.167 GB, free: 11.97 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.7294, allocations: 20 kB / 1.167 GB, free: 11.95 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.7296, allocations: 71.95 kB / 1.167 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.7301, allocations: 344.7 kB / 1.167 GB, free: 11.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.7302, allocations: 102.6 kB / 1.167 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/0.7303, allocations: 48.89 kB / 1.167 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008289/0.7312, allocations: 485.4 kB / 1.168 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.7312, allocations: 30.56 kB / 1.168 GB, free: 10.73 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.7312, allocations: 4 kB / 1.168 GB, free: 10.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002508/0.7315, allocations: 125.5 kB / 1.168 GB, free: 10.6 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.7315, allocations: 55.34 kB / 1.168 GB, free: 10.53 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.7316, allocations: 117.9 kB / 1.168 GB, free: 10.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.7316, allocations: 25.7 kB / 1.168 GB, free: 10.38 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.7317, allocations: 100.2 kB / 1.168 GB, free: 10.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.7317, allocations: 43.34 kB / 1.168 GB, free: 10.23 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.7317, allocations: 21.7 kB / 1.168 GB, free: 10.2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7318, allocations: 318.8 kB / 1.169 GB, free: 9.883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.991e-05/0.7319, allocations: 31.97 kB / 1.169 GB, free: 9.852 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.732, allocations: 69.14 kB / 1.169 GB, free: 9.766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.7321, allocations: 117.4 kB / 1.169 GB, free: 9.633 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7321, allocations: 3.938 kB / 1.169 GB, free: 9.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001952/0.7323, allocations: 141.4 kB / 1.169 GB, free: 9.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7324, allocations: 4 kB / 1.169 GB, free: 9.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7324, allocations: 4 kB / 1.169 GB, free: 9.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.7324, allocations: 160 / 1.169 GB, free: 9.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.7325, allocations: 39.86 kB / 1.169 GB, free: 9.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.7325, allocations: 3.984 kB / 1.169 GB, free: 9.434 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.7326, allocations: 7.938 kB / 1.169 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.7326, allocations: 8 kB / 1.169 GB, free: 9.418 MB / 0.92 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 9.024e-05/0.7327, allocations: 126.3 kB / 1.169 GB, free: 9.285 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.7327, allocations: 7.906 kB / 1.169 GB, free: 9.277 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.733, allocations: 126 kB / 1.169 GB, free: 9.152 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.733, allocations: 7.938 kB / 1.169 GB, free: 9.145 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.733, allocations: 256 / 1.169 GB, free: 9.145 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.733, allocations: 0 / 1.169 GB, free: 9.145 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.7332, allocations: 185.6 kB / 1.169 GB, free: 8.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7332, allocations: 0 / 1.169 GB, free: 8.914 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.708e-05/0.7333, allocations: 23.92 kB / 1.169 GB, free: 8.891 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.7333, allocations: 4 kB / 1.169 GB, free: 8.887 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.7333, allocations: 0 / 1.169 GB, free: 8.887 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7333, allocations: 3.938 kB / 1.17 GB, free: 8.883 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.7333, allocations: 4 kB / 1.17 GB, free: 8.879 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.7335, allocations: 191.5 kB / 1.17 GB, free: 8.676 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.7336, allocations: 96.94 kB / 1.17 GB, free: 8.562 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.7336, allocations: 4 kB / 1.17 GB, free: 8.559 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.488e-05/0.7337, allocations: 3.938 kB / 1.17 GB, free: 8.555 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.7337, allocations: 11.98 kB / 1.17 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.7337, allocations: 0 / 1.17 GB, free: 8.543 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.731e-05/0.7338, allocations: 91.27 kB / 1.17 GB, free: 8.453 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7338, allocations: 0 / 1.17 GB, free: 8.453 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003432/0.7341, allocations: 79.94 kB / 1.17 GB, free: 8.375 MB / 0.92 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.0003304/0.7345, allocations: 188.8 kB / 1.17 GB, free: 8.18 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.7346, allocations: 79.97 kB / 1.17 GB, free: 8.102 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7346, allocations: 4 kB / 1.17 GB, free: 8.098 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.023e-05/0.7347, allocations: 43.91 kB / 1.17 GB, free: 8.055 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.735, allocations: 12 kB / 1.17 GB, free: 8.043 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.7353, allocations: 203.4 kB / 1.17 GB, free: 7.82 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.7356, allocations: 0.6926 MB / 1.171 GB, free: 7.102 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.7357, allocations: 53.08 kB / 1.171 GB, free: 7.047 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.7358, allocations: 15.44 kB / 1.171 GB, free: 7.031 MB / 0.92 GB Notification: Performance of SimCode: time 2.01e-07/0.7358, allocations: 0 / 1.171 GB, free: 7.031 MB / 0.92 GB Notification: Performance of Templates: time 0.004582/0.7404, allocations: 1.858 MB / 1.173 GB, free: 5.223 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches