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.004252/0.004252, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.0009825/0.0009825, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.137/2.137, allocations: 390.3 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.97 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2262, allocations: 140.4 MB / 1.088 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002064/0.2283, allocations: 1.325 MB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.3618, allocations: 147.9 MB / 1.233 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.3619, allocations: 0 / 1.233 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.3619, allocations: 3.938 kB / 1.233 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.3621, allocations: 39.88 kB / 1.233 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009848/0.3631, allocations: 358.5 kB / 1.234 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3632, allocations: 67.86 kB / 1.234 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.3632, allocations: 3.938 kB / 1.234 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.701e-05/0.3633, allocations: 31.92 kB / 1.234 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.3634, allocations: 51.88 kB / 1.234 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.3634, allocations: 4 kB / 1.234 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007105/0.3641, allocations: 411.1 kB / 1.234 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.3642, allocations: 27.97 kB / 1.234 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.3642, allocations: 31.84 kB / 1.234 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.3647, allocations: 275 kB / 1.234 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3647, allocations: 0 / 1.234 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3647, allocations: 0 / 1.234 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.3647, allocations: 0 / 1.234 GB, free: 10.85 MB / 0.9981 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.0003886/0.3651, allocations: 407.3 kB / 1.235 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3652, allocations: 8.031 kB / 1.235 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.3652, allocations: 42.73 kB / 1.235 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.3652, allocations: 4.938 kB / 1.235 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.164e-05/0.3653, allocations: 175.3 kB / 1.235 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.3654, allocations: 0 / 1.235 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.3654, allocations: 4 kB / 1.235 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.3655, allocations: 93.66 kB / 1.235 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.3655, allocations: 0 / 1.235 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.3656, allocations: 3.938 kB / 1.235 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.3656, allocations: 11.98 kB / 1.235 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.3657, allocations: 79.89 kB / 1.235 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.3661, allocations: 344.6 kB / 1.236 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.3663, allocations: 98.53 kB / 1.236 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/0.3664, allocations: 48.91 kB / 1.236 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007737/0.3671, allocations: 469.4 kB / 1.236 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3672, allocations: 46.48 kB / 1.236 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.274e-06/0.3672, allocations: 96 / 1.236 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0002314/0.3674, allocations: 125.8 kB / 1.236 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.3675, allocations: 55.41 kB / 1.236 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.3675, allocations: 113.8 kB / 1.236 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3676, allocations: 29.7 kB / 1.237 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.3676, allocations: 100.2 kB / 1.237 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.3676, allocations: 43.53 kB / 1.237 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.3677, allocations: 37.61 kB / 1.237 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.3678, allocations: 314.8 kB / 1.237 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.3678, allocations: 35.97 kB / 1.237 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.3679, allocations: 75.97 kB / 1.237 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.368, allocations: 117 kB / 1.237 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3681, allocations: 0 / 1.237 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001756/0.3682, allocations: 133.5 kB / 1.237 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3683, allocations: 16.09 kB / 1.237 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3683, allocations: 0 / 1.237 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3683, allocations: 4 kB / 1.237 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.796e-05/0.3684, allocations: 23.98 kB / 1.237 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.3684, allocations: 7.938 kB / 1.237 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.3685, allocations: 11.91 kB / 1.237 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3685, allocations: 7.984 kB / 1.237 GB, free: 7.465 MB / 0.9981 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 7.379e-05/0.3686, allocations: 117.8 kB / 1.238 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3686, allocations: 11.84 kB / 1.238 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.3688, allocations: 137.9 kB / 1.238 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3688, allocations: 0 / 1.238 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3688, allocations: 0 / 1.238 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3688, allocations: 0 / 1.238 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.369, allocations: 177.7 kB / 1.238 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.369, allocations: 0 / 1.238 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.3691, allocations: 16 kB / 1.238 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3691, allocations: 7.875 kB / 1.238 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3691, allocations: 7.984 kB / 1.238 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3691, allocations: 0 / 1.238 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3691, allocations: 0 / 1.238 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.3693, allocations: 203.3 kB / 1.238 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.3693, allocations: 100.9 kB / 1.238 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.3693, allocations: 0 / 1.238 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.3694, allocations: 4 kB / 1.238 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.3694, allocations: 7.984 kB / 1.238 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3694, allocations: 8.25 kB / 1.238 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.3695, allocations: 91.28 kB / 1.238 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3695, allocations: 0 / 1.238 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003168/0.3698, allocations: 71.92 kB / 1.238 GB, free: 6.418 MB / 0.9981 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.0005872/0.3704, allocations: 0.8195 MB / 1.239 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.3706, allocations: 83.89 kB / 1.239 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3706, allocations: 0 / 1.239 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.676e-05/0.3706, allocations: 39.92 kB / 1.239 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.3709, allocations: 23.28 kB / 1.239 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.3714, allocations: 244.1 kB / 1.24 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.3716, allocations: 0.6924 MB / 1.24 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.3717, allocations: 53.2 kB / 1.24 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.3718, allocations: 15.44 kB / 1.24 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.3718, allocations: 0 / 1.24 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.38/3.751, allocations: 3.211 MB / 1.243 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.341/13.09, allocations: 10.53 kB / 1.243 GB, free: 1.348 MB / 0.9981 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