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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005627/0.005627, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.002061/0.002061, allocations: 191 kB / 16.67 MB, free: 5.969 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.152/2.152, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 71.89 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.7674, allocations: 140.4 MB / 1.088 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002283/0.7697, allocations: 1.331 MB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.9395, allocations: 147.9 MB / 1.233 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.9396, allocations: 4.969 kB / 1.233 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.056e-05/0.9397, allocations: 0 / 1.233 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.9398, allocations: 40.48 kB / 1.233 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.9412, allocations: 369.6 kB / 1.234 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.9414, allocations: 70.17 kB / 1.234 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.9414, allocations: 2.281 kB / 1.234 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.9415, allocations: 30.27 kB / 1.234 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.9416, allocations: 57.86 kB / 1.234 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.9417, allocations: 1.375 kB / 1.234 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009819/0.9427, allocations: 410.7 kB / 1.234 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.9427, allocations: 27.88 kB / 1.234 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.9428, allocations: 25.75 kB / 1.234 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006329/0.9434, allocations: 273.2 kB / 1.234 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.9435, allocations: 0 / 1.234 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9435, allocations: 0.9688 kB / 1.234 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.9435, allocations: 4 kB / 1.234 GB, free: 4.594 MB / 0.9669 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.0004749/0.944, allocations: 406.8 kB / 1.235 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.944, allocations: 8.875 kB / 1.235 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.944, allocations: 38.25 kB / 1.235 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.9441, allocations: 2.938 kB / 1.235 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.864e-05/0.9442, allocations: 169.6 kB / 1.235 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.9442, allocations: 1.438 kB / 1.235 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.9442, allocations: 2.031 kB / 1.235 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.9444, allocations: 104.2 kB / 1.235 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.9444, allocations: 0 / 1.235 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.9445, allocations: 5.219 kB / 1.235 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.9445, allocations: 8.531 kB / 1.235 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.9446, allocations: 75.98 kB / 1.235 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.9451, allocations: 338.4 kB / 1.236 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.9453, allocations: 106.7 kB / 1.236 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.919e-05/0.9453, allocations: 54.36 kB / 1.236 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008625/0.9462, allocations: 473.4 kB / 1.236 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.9463, allocations: 39.72 kB / 1.236 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.9463, allocations: 1.094 kB / 1.236 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.000265/0.9465, allocations: 121.5 kB / 1.236 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.9466, allocations: 52.84 kB / 1.236 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.287e-05/0.9467, allocations: 119.6 kB / 1.236 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.9467, allocations: 29.7 kB / 1.237 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.9467, allocations: 98.3 kB / 1.237 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.9468, allocations: 36.48 kB / 1.237 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.9468, allocations: 37.34 kB / 1.237 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.9469, allocations: 321.2 kB / 1.237 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.947, allocations: 32.7 kB / 1.237 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.9471, allocations: 73 kB / 1.237 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.9472, allocations: 123.2 kB / 1.237 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9472, allocations: 0 / 1.237 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002026/0.9474, allocations: 133.3 kB / 1.237 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.9475, allocations: 9.531 kB / 1.237 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.9475, allocations: 1.094 kB / 1.237 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.9475, allocations: 6.219 kB / 1.237 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.9476, allocations: 30.2 kB / 1.237 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.9476, allocations: 5.5 kB / 1.237 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.9477, allocations: 15.41 kB / 1.237 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.9477, allocations: 5.688 kB / 1.237 GB, free: 1.848 MB / 0.9669 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 8.825e-05/0.9478, allocations: 124.9 kB / 1.238 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.9478, allocations: 12.22 kB / 1.238 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.9481, allocations: 118.3 kB / 1.238 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.9481, allocations: 5.25 kB / 1.238 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9481, allocations: 0 / 1.238 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9481, allocations: 1 kB / 1.238 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.9483, allocations: 180.4 kB / 1.238 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.9483, allocations: 0 / 1.238 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.9484, allocations: 22.3 kB / 1.238 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.9484, allocations: 5 kB / 1.238 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.9484, allocations: 1.094 kB / 1.238 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.9484, allocations: 256 / 1.238 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9484, allocations: 8.906 kB / 1.238 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.9486, allocations: 206.5 kB / 1.238 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.9486, allocations: 94.73 kB / 1.238 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.9487, allocations: 5.141 kB / 1.238 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.382e-05/0.9487, allocations: 5.156 kB / 1.238 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.786e-05/0.9487, allocations: 3.469 kB / 1.238 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.9488, allocations: 2.188 kB / 1.238 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.9488, allocations: 91.05 kB / 1.238 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9488, allocations: 0 / 1.238 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003953/0.9492, allocations: 80.8 kB / 1.238 GB, free: 1.012 MB / 0.9669 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.0006899/0.9499, allocations: 0.807 MB / 1.239 GB, free: 296 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.9501, allocations: 91.8 kB / 1.239 GB, free: 260 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9501, allocations: 0 / 1.239 GB, free: 260 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.301e-05/0.9502, allocations: 41.17 kB / 1.239 GB, free: 244 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.9505, allocations: 19.59 kB / 1.239 GB, free: 232 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.9511, allocations: 245 kB / 1.24 GB, free: 20 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.9513, allocations: 0.6979 MB / 1.24 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.9514, allocations: 49.3 kB / 1.24 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.9515, allocations: 26.42 kB / 1.24 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of SimCode: time 4.2e-07/0.9515, allocations: 0 / 1.24 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.9721, allocations: 3.2 MB / 1.243 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/8.631, allocations: 11.73 kB / 1.243 GB, free: 13.66 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > 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