Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.005075/0.005076, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001236/0.001236, allocations: 197 kB / 16.67 MB, free: 5.973 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.589/2.589, allocations: 472.7 MB / 0.7453 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 71.84 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2959, allocations: 159.9 MB / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00269/0.2986, allocations: 1.339 MB / 1.227 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7995/1.098, allocations: 147.9 MB / 1.371 GB, free: 10.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/1.098, allocations: 4 kB / 1.371 GB, free: 10.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/1.098, allocations: 9.719 kB / 1.371 GB, free: 10.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/1.098, allocations: 39.09 kB / 1.371 GB, free: 10.05 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/1.1, allocations: 363.6 kB / 1.371 GB, free: 9.891 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/1.1, allocations: 65.11 kB / 1.371 GB, free: 9.875 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/1.1, allocations: 5.906 kB / 1.371 GB, free: 9.871 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.494e-05/1.1, allocations: 37.84 kB / 1.371 GB, free: 9.859 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/1.1, allocations: 45.45 kB / 1.371 GB, free: 9.852 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/1.1, allocations: 4.312 kB / 1.371 GB, free: 9.852 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008089/1.101, allocations: 414.6 kB / 1.372 GB, free: 9.703 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/1.101, allocations: 30.34 kB / 1.372 GB, free: 9.695 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/1.101, allocations: 25.09 kB / 1.372 GB, free: 9.684 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005747/1.102, allocations: 275.3 kB / 1.372 GB, free: 9.609 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.102, allocations: 0.9375 kB / 1.372 GB, free: 9.609 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.333e-06/1.102, allocations: 4 kB / 1.372 GB, free: 9.605 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.669e-06/1.102, allocations: 0 / 1.372 GB, free: 9.605 MB / 1.076 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.0004484/1.102, allocations: 400.4 kB / 1.373 GB, free: 9.207 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/1.102, allocations: 9.156 kB / 1.373 GB, free: 9.207 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/1.102, allocations: 39.36 kB / 1.373 GB, free: 9.164 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/1.102, allocations: 4.312 kB / 1.373 GB, free: 9.164 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.705e-05/1.102, allocations: 168.2 kB / 1.373 GB, free: 8.965 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/1.102, allocations: 5.656 kB / 1.373 GB, free: 8.961 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/1.102, allocations: 6.688 kB / 1.373 GB, free: 8.957 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/1.102, allocations: 95.61 kB / 1.373 GB, free: 8.906 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/1.102, allocations: 0 / 1.373 GB, free: 8.906 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/1.102, allocations: 2.812 kB / 1.373 GB, free: 8.906 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/1.102, allocations: 16.98 kB / 1.373 GB, free: 8.902 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/1.103, allocations: 83.12 kB / 1.373 GB, free: 8.883 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/1.103, allocations: 340.3 kB / 1.373 GB, free: 8.582 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/1.103, allocations: 100.6 kB / 1.373 GB, free: 8.539 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/1.103, allocations: 58.89 kB / 1.373 GB, free: 8.516 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007582/1.104, allocations: 469.3 kB / 1.374 GB, free: 8.039 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/1.104, allocations: 34.53 kB / 1.374 GB, free: 8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 2.425e-06/1.104, allocations: 96 / 1.374 GB, free: 8 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0002374/1.104, allocations: 129.3 kB / 1.374 GB, free: 7.938 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/1.104, allocations: 56.53 kB / 1.374 GB, free: 7.871 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/1.104, allocations: 113.4 kB / 1.374 GB, free: 7.766 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/1.104, allocations: 26.8 kB / 1.374 GB, free: 7.734 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/1.105, allocations: 102 kB / 1.374 GB, free: 7.637 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/1.105, allocations: 34.95 kB / 1.374 GB, free: 7.609 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/1.105, allocations: 35.92 kB / 1.374 GB, free: 7.582 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/1.105, allocations: 318.7 kB / 1.375 GB, free: 7.266 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/1.105, allocations: 33.17 kB / 1.375 GB, free: 7.258 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-05/1.105, allocations: 74.92 kB / 1.375 GB, free: 7.199 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/1.105, allocations: 113.6 kB / 1.375 GB, free: 7.125 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.105, allocations: 0 / 1.375 GB, free: 7.125 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001933/1.105, allocations: 144.2 kB / 1.375 GB, free: 7.059 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.105, allocations: 4.688 kB / 1.375 GB, free: 7.059 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.105, allocations: 2.156 kB / 1.375 GB, free: 7.059 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.105, allocations: 2.188 kB / 1.375 GB, free: 7.059 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/1.105, allocations: 30 kB / 1.375 GB, free: 7.055 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.105, allocations: 11.69 kB / 1.375 GB, free: 7.047 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/1.105, allocations: 8.859 kB / 1.375 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/1.105, allocations: 7.875 kB / 1.375 GB, free: 7.039 MB / 1.076 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.423e-05/1.105, allocations: 125.8 kB / 1.375 GB, free: 6.918 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/1.106, allocations: 6.266 kB / 1.375 GB, free: 6.914 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/1.106, allocations: 126.6 kB / 1.375 GB, free: 6.848 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.106, allocations: 9.438 kB / 1.375 GB, free: 6.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.106, allocations: 2.109 kB / 1.375 GB, free: 6.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/1.106, allocations: 0 / 1.375 GB, free: 6.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/1.106, allocations: 179 kB / 1.376 GB, free: 6.641 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.106, allocations: 1.188 kB / 1.376 GB, free: 6.641 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/1.106, allocations: 24.75 kB / 1.376 GB, free: 6.633 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.106, allocations: 1.469 kB / 1.376 GB, free: 6.633 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/1.106, allocations: 3.844 kB / 1.376 GB, free: 6.633 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/1.106, allocations: 3.938 kB / 1.376 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.106, allocations: 1.156 kB / 1.376 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/1.106, allocations: 198.3 kB / 1.376 GB, free: 6.473 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/1.106, allocations: 99.95 kB / 1.376 GB, free: 6.367 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/1.106, allocations: 7.094 kB / 1.376 GB, free: 6.363 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/1.106, allocations: 5.094 kB / 1.376 GB, free: 6.359 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/1.106, allocations: 8.734 kB / 1.376 GB, free: 6.355 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/1.106, allocations: 2.625 kB / 1.376 GB, free: 6.355 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.068e-05/1.106, allocations: 85.38 kB / 1.376 GB, free: 6.281 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/1.106, allocations: 1.188 kB / 1.376 GB, free: 6.281 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003486/1.107, allocations: 83.81 kB / 1.376 GB, free: 6.254 MB / 1.076 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.0005958/1.107, allocations: 0.8175 MB / 1.377 GB, free: 5.543 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001554/1.108, allocations: 81.02 kB / 1.377 GB, free: 5.527 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.108, allocations: 1.219 kB / 1.377 GB, free: 5.527 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/1.108, allocations: 37.95 kB / 1.377 GB, free: 5.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/1.108, allocations: 18.52 kB / 1.377 GB, free: 5.512 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/1.108, allocations: 242.1 kB / 1.377 GB, free: 5.328 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/1.109, allocations: 0.6943 MB / 1.378 GB, free: 4.629 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001169/1.109, allocations: 54.78 kB / 1.378 GB, free: 4.621 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/1.109, allocations: 25.95 kB / 1.378 GB, free: 4.602 MB / 1.076 GB Notification: Performance of SimCode: time 2.4e-07/1.109, allocations: 0 / 1.378 GB, free: 4.602 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/1.126, allocations: 3.219 MB / 1.381 GB, free: 3.68 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/8.557, allocations: 11.86 kB / 1.381 GB, free: 3.672 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.csv --start-time 10 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches