Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005129/0.005129, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001429/0.001429, allocations: 190.2 kB / 16.67 MB, free: 5.91 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.479/2.479, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001872, allocations: 71.83 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.64/0.6419, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00208/0.644, allocations: 1.338 MB / 1.222 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.152/0.796, allocations: 147.9 MB / 1.366 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/0.7961, allocations: 0 / 1.366 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.7962, allocations: 7.984 kB / 1.366 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.7964, allocations: 43.86 kB / 1.366 GB, free: 12.2 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009935/0.7974, allocations: 358.5 kB / 1.366 GB, free: 11.85 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.7975, allocations: 67.8 kB / 1.366 GB, free: 11.79 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.7975, allocations: 8 kB / 1.366 GB, free: 11.78 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.7976, allocations: 23.92 kB / 1.366 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.7977, allocations: 59.88 kB / 1.366 GB, free: 11.7 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.7977, allocations: 3.938 kB / 1.366 GB, free: 11.69 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007197/0.7984, allocations: 415.1 kB / 1.367 GB, free: 11.29 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.7985, allocations: 19.97 kB / 1.367 GB, free: 11.27 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.7985, allocations: 31.84 kB / 1.367 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.799, allocations: 270.9 kB / 1.367 GB, free: 10.97 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.799, allocations: 0 / 1.367 GB, free: 10.97 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.392e-06/0.799, allocations: 0 / 1.367 GB, free: 10.97 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.799, allocations: 0 / 1.367 GB, free: 10.97 MB / 1.092 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.0004255/0.7994, allocations: 406.8 kB / 1.368 GB, free: 10.53 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.7995, allocations: 16.62 kB / 1.368 GB, free: 10.51 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.7995, allocations: 38.73 kB / 1.368 GB, free: 10.46 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.7995, allocations: 4.938 kB / 1.368 GB, free: 10.46 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.7997, allocations: 168.1 kB / 1.368 GB, free: 10.26 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.7997, allocations: 4 kB / 1.368 GB, free: 10.25 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.7997, allocations: 0 / 1.368 GB, free: 10.25 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.7998, allocations: 97.59 kB / 1.368 GB, free: 10.15 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.7999, allocations: 3.938 kB / 1.368 GB, free: 10.15 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.7999, allocations: 0 / 1.368 GB, free: 10.15 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.7999, allocations: 19.98 kB / 1.368 GB, free: 10.13 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.8, allocations: 79.94 kB / 1.368 GB, free: 10.05 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.8005, allocations: 340.7 kB / 1.368 GB, free: 9.668 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.8006, allocations: 102.5 kB / 1.368 GB, free: 9.559 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.8007, allocations: 48.91 kB / 1.368 GB, free: 9.508 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008225/0.8016, allocations: 473.4 kB / 1.369 GB, free: 8.953 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.8016, allocations: 34.56 kB / 1.369 GB, free: 8.91 MB / 1.092 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.8016, allocations: 0 / 1.369 GB, free: 8.91 MB / 1.092 GB Notification: Performance of matching and sorting (n=11): time 0.0002362/0.8018, allocations: 121.5 kB / 1.369 GB, free: 8.785 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.8019, allocations: 55.44 kB / 1.369 GB, free: 8.719 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.802, allocations: 121.8 kB / 1.369 GB, free: 8.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.802, allocations: 33.7 kB / 1.369 GB, free: 8.551 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.8021, allocations: 92.36 kB / 1.369 GB, free: 8.457 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.8021, allocations: 51.61 kB / 1.369 GB, free: 8.406 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.8022, allocations: 33.66 kB / 1.369 GB, free: 8.367 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.8023, allocations: 318.8 kB / 1.37 GB, free: 8.047 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.8024, allocations: 31.98 kB / 1.37 GB, free: 8.016 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.896e-05/0.8025, allocations: 73.12 kB / 1.37 GB, free: 7.926 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.8026, allocations: 117.4 kB / 1.37 GB, free: 7.793 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.8026, allocations: 0 / 1.37 GB, free: 7.793 MB / 1.092 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001974/0.8028, allocations: 141.5 kB / 1.37 GB, free: 7.648 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.8028, allocations: 4 kB / 1.37 GB, free: 7.645 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8028, allocations: 4 kB / 1.37 GB, free: 7.641 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.8029, allocations: 4.188 kB / 1.37 GB, free: 7.637 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.803, allocations: 31.92 kB / 1.37 GB, free: 7.605 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.803, allocations: 4 kB / 1.37 GB, free: 7.602 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.803, allocations: 15.89 kB / 1.37 GB, free: 7.586 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.803, allocations: 4 kB / 1.37 GB, free: 7.582 MB / 1.092 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.477e-05/0.8031, allocations: 129.9 kB / 1.37 GB, free: 7.445 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.8032, allocations: 7.953 kB / 1.37 GB, free: 7.438 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.8034, allocations: 126 kB / 1.37 GB, free: 7.309 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.8034, allocations: 7.938 kB / 1.37 GB, free: 7.301 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.8034, allocations: 0 / 1.37 GB, free: 7.301 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.8034, allocations: 0 / 1.37 GB, free: 7.301 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.8036, allocations: 177.6 kB / 1.371 GB, free: 7.078 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8036, allocations: 8 kB / 1.371 GB, free: 7.07 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.8037, allocations: 15.94 kB / 1.371 GB, free: 7.055 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8037, allocations: 0 / 1.371 GB, free: 7.055 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.8037, allocations: 11.98 kB / 1.371 GB, free: 7.043 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8037, allocations: 3.938 kB / 1.371 GB, free: 7.039 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.8037, allocations: 0 / 1.371 GB, free: 7.039 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.8039, allocations: 191.5 kB / 1.371 GB, free: 6.836 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.804, allocations: 92.98 kB / 1.371 GB, free: 6.727 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.804, allocations: 8 kB / 1.371 GB, free: 6.719 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.804, allocations: 7.938 kB / 1.371 GB, free: 6.711 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.8041, allocations: 7.984 kB / 1.371 GB, free: 6.703 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.8041, allocations: 0 / 1.371 GB, free: 6.703 MB / 1.092 GB Notification: Performance of sorting global known variables: time 4.644e-05/0.8041, allocations: 87.28 kB / 1.371 GB, free: 6.617 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.903e-06/0.8041, allocations: 0 / 1.371 GB, free: 6.617 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003101/0.8044, allocations: 79.67 kB / 1.371 GB, free: 6.539 MB / 1.092 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.0006765/0.8051, allocations: 0.822 MB / 1.372 GB, free: 5.691 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.8053, allocations: 87.83 kB / 1.372 GB, free: 5.605 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8053, allocations: 320 / 1.372 GB, free: 5.605 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 4.801e-05/0.8054, allocations: 35.98 kB / 1.372 GB, free: 5.57 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.8056, allocations: 27.11 kB / 1.372 GB, free: 5.547 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.8061, allocations: 239.9 kB / 1.372 GB, free: 5.273 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.8064, allocations: 0.6963 MB / 1.373 GB, free: 4.551 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.8065, allocations: 57.06 kB / 1.373 GB, free: 4.496 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.8066, allocations: 15.44 kB / 1.373 GB, free: 4.48 MB / 1.092 GB Notification: Performance of SimCode: time 2.3e-07/0.8066, allocations: 0 / 1.373 GB, free: 4.48 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.277/2.083, allocations: 3.204 MB / 1.376 GB, free: 1.484 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/17.43, allocations: 8.922 kB / 1.376 GB, free: 1.477 MB / 1.092 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches