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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001059/0.001059, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001404/0.001404, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.7 MB / 0.7117 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 12 kB / 0.8722 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5705, allocations: 153.8 MB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001312/0.5719, allocations: 1.051 MB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.135/0.7069, allocations: 134.3 MB / 1.155 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.707, allocations: 0 / 1.155 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.707, allocations: 3.984 kB / 1.155 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.7072, allocations: 47.88 kB / 1.155 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/0.708, allocations: 262.9 kB / 1.155 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.7082, allocations: 135.7 kB / 1.155 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.177e-05/0.7082, allocations: 0 / 1.155 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.7083, allocations: 27.92 kB / 1.155 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.7084, allocations: 59.88 kB / 1.155 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.7084, allocations: 0 / 1.155 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006127/0.709, allocations: 311.4 kB / 1.155 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.7091, allocations: 31.89 kB / 1.155 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.7091, allocations: 33.7 kB / 1.155 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.7094, allocations: 169.7 kB / 1.156 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7094, allocations: 0 / 1.156 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.356e-06/0.7094, allocations: 0 / 1.156 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.7094, allocations: 3.938 kB / 1.156 GB, free: 7.215 MB / 0.9044 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.0003482/0.7098, allocations: 392.7 kB / 1.156 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.7098, allocations: 12.52 kB / 1.156 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.7098, allocations: 7.906 kB / 1.156 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.293e-05/0.7099, allocations: 175 kB / 1.156 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.71, allocations: 4 kB / 1.156 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.71, allocations: 0 / 1.156 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.7101, allocations: 99.7 kB / 1.156 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.7102, allocations: 0 / 1.156 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.7102, allocations: 3.938 kB / 1.156 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.7102, allocations: 11.98 kB / 1.156 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.7104, allocations: 83.89 kB / 1.156 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.7108, allocations: 340.7 kB / 1.157 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.7109, allocations: 94.53 kB / 1.157 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.711, allocations: 56.89 kB / 1.157 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008037/0.7118, allocations: 485.4 kB / 1.157 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.7119, allocations: 34.59 kB / 1.157 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.7119, allocations: 0 / 1.157 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0002528/0.7121, allocations: 121.5 kB / 1.157 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.7122, allocations: 59.36 kB / 1.157 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.7123, allocations: 121.9 kB / 1.158 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.7123, allocations: 25.7 kB / 1.158 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.7123, allocations: 92.17 kB / 1.158 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.7124, allocations: 51.33 kB / 1.158 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.7124, allocations: 0 / 1.158 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.7125, allocations: 318.8 kB / 1.158 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/0.7125, allocations: 27.98 kB / 1.158 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.7126, allocations: 77.06 kB / 1.158 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.702e-05/0.7127, allocations: 39.98 kB / 1.158 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7127, allocations: 4 kB / 1.158 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001947/0.7129, allocations: 137.5 kB / 1.158 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7129, allocations: 8 kB / 1.158 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.7129, allocations: 0 / 1.158 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.713, allocations: 4 kB / 1.158 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.7131, allocations: 27.92 kB / 1.158 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.7131, allocations: 11.89 kB / 1.158 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.7131, allocations: 7.938 kB / 1.158 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.7131, allocations: 8 kB / 1.158 GB, free: 4.008 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/0.7132, allocations: 121.8 kB / 1.159 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.7133, allocations: 11.97 kB / 1.159 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.7135, allocations: 122.6 kB / 1.159 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7135, allocations: 7.984 kB / 1.159 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7135, allocations: 4 kB / 1.159 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7135, allocations: 3.953 kB / 1.159 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.7137, allocations: 177.7 kB / 1.159 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7137, allocations: 0 / 1.159 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.227e-05/0.7138, allocations: 16 kB / 1.159 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.7138, allocations: 7.938 kB / 1.159 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.7138, allocations: 0 / 1.159 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.7138, allocations: 3.984 kB / 1.159 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7138, allocations: 3.984 kB / 1.159 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.714, allocations: 207.3 kB / 1.159 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.7141, allocations: 89.03 kB / 1.159 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.7141, allocations: 8 kB / 1.159 GB, free: 3.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.7141, allocations: 4 kB / 1.159 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.7142, allocations: 7.984 kB / 1.159 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.7142, allocations: 0 / 1.159 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.7142, allocations: 87.28 kB / 1.159 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7142, allocations: 0 / 1.159 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003386/0.7146, allocations: 71.92 kB / 1.159 GB, free: 2.977 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003004/0.7149, allocations: 195 kB / 1.16 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.715, allocations: 87.83 kB / 1.16 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.715, allocations: 0 / 1.16 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.7151, allocations: 31.98 kB / 1.16 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.7154, allocations: 21.56 kB / 1.16 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.7157, allocations: 203.4 kB / 1.16 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.7159, allocations: 0.6887 MB / 1.161 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.7161, allocations: 57.08 kB / 1.161 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.7161, allocations: 23.42 kB / 1.161 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.7161, allocations: 0 / 1.161 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of Templates: time 0.004457/0.7206, allocations: 1.831 MB / 1.162 GB, free: 15.84 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