Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008302/0.0008302, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009029/0.0009028, allocations: 181.6 kB / 16.92 MB, free: 6.891 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004844, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7758, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001278/0.7771, allocations: 1.062 MB / 0.9568 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1497/0.9269, allocations: 144 MB / 1.097 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.9269, allocations: 0 / 1.097 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.927, allocations: 0 / 1.097 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.9272, allocations: 47.86 kB / 1.097 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.9284, allocations: 314.9 kB / 1.098 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.9287, allocations: 191.7 kB / 1.098 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.9287, allocations: 0 / 1.098 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.216e-05/0.9288, allocations: 35.86 kB / 1.098 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.9289, allocations: 59.92 kB / 1.098 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.929, allocations: 0 / 1.098 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009189/0.9299, allocations: 439 kB / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.883e-05/0.93, allocations: 27.91 kB / 1.099 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.93, allocations: 57.56 kB / 1.099 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.9305, allocations: 185.6 kB / 1.099 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9305, allocations: 0 / 1.099 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9305, allocations: 0 / 1.099 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.9305, allocations: 0 / 1.099 GB, free: 12.39 MB / 0.8575 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.0004594/0.931, allocations: 396.6 kB / 1.099 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.931, allocations: 8.031 kB / 1.099 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.9311, allocations: 8.844 kB / 1.099 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.9312, allocations: 171.8 kB / 1.099 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.9312, allocations: 7.938 kB / 1.099 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.9312, allocations: 0 / 1.099 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.9315, allocations: 97.58 kB / 1.099 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.9315, allocations: 0 / 1.099 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.9315, allocations: 4 kB / 1.099 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.9315, allocations: 12 kB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.9317, allocations: 75.95 kB / 1.099 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.9321, allocations: 344.7 kB / 1.1 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.9323, allocations: 102.5 kB / 1.1 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.537e-05/0.9324, allocations: 48.89 kB / 1.1 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008657/0.9333, allocations: 481.4 kB / 1.1 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.9333, allocations: 38.56 kB / 1.1 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.9333, allocations: 4 kB / 1.1 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000266/0.9336, allocations: 129.5 kB / 1.101 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.9336, allocations: 51.41 kB / 1.101 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.9337, allocations: 117.9 kB / 1.101 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.9338, allocations: 33.7 kB / 1.101 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.9338, allocations: 92.17 kB / 1.101 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.9339, allocations: 39.39 kB / 1.101 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.9339, allocations: 21.72 kB / 1.101 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.934, allocations: 318.8 kB / 1.101 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.9341, allocations: 31.98 kB / 1.101 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.9341, allocations: 71.38 kB / 1.101 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.9343, allocations: 121.4 kB / 1.101 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.9343, allocations: 0 / 1.101 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002026/0.9345, allocations: 145.4 kB / 1.102 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.9345, allocations: 4 kB / 1.102 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9346, allocations: 7.938 kB / 1.102 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.9346, allocations: 0 / 1.102 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.9347, allocations: 32.14 kB / 1.102 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.9347, allocations: 0 / 1.102 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.9348, allocations: 11.94 kB / 1.102 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.9348, allocations: 4 kB / 1.102 GB, free: 9.078 MB / 0.8575 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.278e-05/0.9349, allocations: 121.8 kB / 1.102 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.9349, allocations: 11.89 kB / 1.102 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.9351, allocations: 130 kB / 1.102 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.9351, allocations: 4 kB / 1.102 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.9352, allocations: 0 / 1.102 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9352, allocations: 0 / 1.102 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.9353, allocations: 181.5 kB / 1.102 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9354, allocations: 7.938 kB / 1.102 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.332e-05/0.9354, allocations: 15.98 kB / 1.102 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.9355, allocations: 0 / 1.102 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.9355, allocations: 7.938 kB / 1.102 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9355, allocations: 0 / 1.102 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9355, allocations: 0 / 1.102 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.9357, allocations: 195.5 kB / 1.102 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.9357, allocations: 96.94 kB / 1.102 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.9357, allocations: 8.188 kB / 1.102 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.741e-05/0.9358, allocations: 11.98 kB / 1.102 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.9358, allocations: 7.938 kB / 1.102 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.9358, allocations: 0 / 1.102 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.824e-05/0.9359, allocations: 91.27 kB / 1.102 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9359, allocations: 4 kB / 1.102 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003592/0.9363, allocations: 75.92 kB / 1.103 GB, free: 8.027 MB / 0.8575 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.0003559/0.9366, allocations: 191.1 kB / 1.103 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.9368, allocations: 84.08 kB / 1.103 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.9368, allocations: 8 kB / 1.103 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.9369, allocations: 39.92 kB / 1.103 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.9372, allocations: 11.98 kB / 1.103 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.9376, allocations: 221 kB / 1.103 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.9378, allocations: 0.6965 MB / 1.104 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.9379, allocations: 19.38 kB / 1.104 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of SimCode: time 4.4e-07/0.9379, allocations: 0 / 1.104 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of Templates: time 0.003757/0.9416, allocations: 1.832 MB / 1.106 GB, free: 4.883 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches