Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007246/0.007246, allocations: 99.5 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.001799/0.001799, allocations: 191.8 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.531/2.531, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002933/0.002933, allocations: 67.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.357, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00238/0.3594, allocations: 1.339 MB / 1.168 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7112/1.071, allocations: 147.9 MB / 1.312 GB, free: 12 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/1.071, allocations: 0 / 1.312 GB, free: 12 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/1.071, allocations: 5.109 kB / 1.312 GB, free: 12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/1.071, allocations: 45.19 kB / 1.312 GB, free: 12 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/1.072, allocations: 353.4 kB / 1.312 GB, free: 11.93 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/1.072, allocations: 71.83 kB / 1.312 GB, free: 11.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/1.072, allocations: 3.438 kB / 1.312 GB, free: 11.91 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/1.072, allocations: 29.34 kB / 1.312 GB, free: 11.91 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/1.072, allocations: 57.23 kB / 1.312 GB, free: 11.91 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/1.072, allocations: 5.5 kB / 1.312 GB, free: 11.9 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008342/1.073, allocations: 408.3 kB / 1.313 GB, free: 11.87 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/1.073, allocations: 29.41 kB / 1.313 GB, free: 11.87 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/1.073, allocations: 26.66 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000507/1.074, allocations: 277.3 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/1.074, allocations: 0 / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/1.074, allocations: 0 / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.28e-06/1.074, allocations: 0 / 1.313 GB, free: 11.84 MB / 1.014 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.0005072/1.075, allocations: 408.8 kB / 1.314 GB, free: 11.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/1.075, allocations: 11.64 kB / 1.314 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/1.075, allocations: 38.8 kB / 1.314 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/1.075, allocations: 5.375 kB / 1.314 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/1.075, allocations: 164.9 kB / 1.314 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/1.075, allocations: 6.719 kB / 1.314 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/1.075, allocations: 6.281 kB / 1.314 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/1.075, allocations: 88.39 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/1.075, allocations: 1.344 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/1.075, allocations: 0 / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/1.075, allocations: 15.47 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/1.075, allocations: 86.91 kB / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/1.076, allocations: 341 kB / 1.314 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/1.076, allocations: 99.02 kB / 1.314 GB, free: 10.85 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/1.076, allocations: 52.75 kB / 1.314 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009043/1.077, allocations: 473.8 kB / 1.315 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.077, allocations: 36.05 kB / 1.315 GB, free: 10.33 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/1.077, allocations: 0 / 1.315 GB, free: 10.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0002797/1.077, allocations: 123.3 kB / 1.315 GB, free: 10.29 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/1.077, allocations: 59.22 kB / 1.315 GB, free: 10.22 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/1.077, allocations: 117.7 kB / 1.315 GB, free: 10.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/1.077, allocations: 30.98 kB / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/1.078, allocations: 99.36 kB / 1.315 GB, free: 9.992 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/1.078, allocations: 35.75 kB / 1.315 GB, free: 9.969 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/1.078, allocations: 37.69 kB / 1.315 GB, free: 9.949 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.078, allocations: 319.6 kB / 1.316 GB, free: 9.637 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/1.078, allocations: 27.39 kB / 1.316 GB, free: 9.637 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.868e-05/1.078, allocations: 72.91 kB / 1.316 GB, free: 9.586 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/1.078, allocations: 119.8 kB / 1.316 GB, free: 9.527 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.078, allocations: 0.9688 kB / 1.316 GB, free: 9.527 MB / 1.014 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002231/1.078, allocations: 145.3 kB / 1.316 GB, free: 9.477 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.078, allocations: 6.25 kB / 1.316 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.078, allocations: 2.719 kB / 1.316 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.078, allocations: 2.562 kB / 1.316 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/1.078, allocations: 29.02 kB / 1.316 GB, free: 9.473 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.079, allocations: 6.906 kB / 1.316 GB, free: 9.469 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/1.079, allocations: 7.844 kB / 1.316 GB, free: 9.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/1.079, allocations: 11.56 kB / 1.316 GB, free: 9.461 MB / 1.014 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 0.0001105/1.079, allocations: 127.8 kB / 1.316 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/1.079, allocations: 7.828 kB / 1.316 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/1.079, allocations: 119.8 kB / 1.316 GB, free: 9.293 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/1.079, allocations: 9.016 kB / 1.316 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.079, allocations: 0 / 1.316 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.079, allocations: 1.844 kB / 1.316 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/1.079, allocations: 175.5 kB / 1.317 GB, free: 9.102 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.079, allocations: 4.875 kB / 1.317 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.276e-05/1.079, allocations: 17.03 kB / 1.317 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.079, allocations: 1.125 kB / 1.317 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/1.079, allocations: 9.344 kB / 1.317 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.079, allocations: 4.688 kB / 1.317 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.079, allocations: 0 / 1.317 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/1.08, allocations: 202.6 kB / 1.317 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/1.08, allocations: 98.2 kB / 1.317 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/1.08, allocations: 8.875 kB / 1.317 GB, free: 8.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.588e-05/1.08, allocations: 4.734 kB / 1.317 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/1.08, allocations: 5.594 kB / 1.317 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/1.08, allocations: 3.672 kB / 1.317 GB, free: 8.836 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.238e-05/1.08, allocations: 89.52 kB / 1.317 GB, free: 8.762 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.08, allocations: 0 / 1.317 GB, free: 8.762 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004043/1.08, allocations: 77.97 kB / 1.317 GB, free: 8.746 MB / 1.014 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.000796/1.081, allocations: 0.8188 MB / 1.318 GB, free: 8.062 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001774/1.081, allocations: 84.02 kB / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.081, allocations: 1.438 kB / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.177e-05/1.081, allocations: 43.02 kB / 1.318 GB, free: 8.047 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/1.082, allocations: 17.42 kB / 1.318 GB, free: 8.043 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/1.082, allocations: 240.4 kB / 1.318 GB, free: 7.871 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/1.083, allocations: 0.6901 MB / 1.319 GB, free: 7.176 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001284/1.083, allocations: 54.34 kB / 1.319 GB, free: 7.168 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/1.083, allocations: 18.89 kB / 1.319 GB, free: 7.16 MB / 1.014 GB Notification: Performance of SimCode: time 2.4e-07/1.083, allocations: 0 / 1.319 GB, free: 7.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/1.107, allocations: 3.211 MB / 1.322 GB, free: 6.676 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.927, allocations: 9.875 kB / 1.322 GB, free: 6.668 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches