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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.663/2.663, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 68.08 kB / 1.104 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8271/0.8289, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002481/0.8314, allocations: 1.339 MB / 1.27 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1728/1.004, allocations: 148.3 MB / 1.415 GB, free: 14.92 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/1.004, allocations: 4 kB / 1.415 GB, free: 14.91 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 4.88e-05/1.004, allocations: 3.984 kB / 1.415 GB, free: 14.91 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/1.004, allocations: 35.88 kB / 1.415 GB, free: 14.88 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/1.006, allocations: 362.5 kB / 1.415 GB, free: 14.52 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/1.006, allocations: 67.81 kB / 1.415 GB, free: 14.45 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/1.006, allocations: 11.98 kB / 1.415 GB, free: 14.44 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/1.006, allocations: 27.92 kB / 1.415 GB, free: 14.41 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/1.006, allocations: 55.86 kB / 1.415 GB, free: 14.36 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/1.006, allocations: 4 kB / 1.415 GB, free: 14.36 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007563/1.007, allocations: 431.1 kB / 1.416 GB, free: 13.93 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/1.007, allocations: 27.91 kB / 1.416 GB, free: 13.91 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/1.007, allocations: 27.81 kB / 1.416 GB, free: 13.88 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004623/1.007, allocations: 281 kB / 1.416 GB, free: 13.61 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.007, allocations: 0 / 1.416 GB, free: 13.61 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.874e-06/1.007, allocations: 0 / 1.416 GB, free: 13.61 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.3e-06/1.007, allocations: 4 kB / 1.416 GB, free: 13.6 MB / 1.123 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.0004833/1.008, allocations: 406.8 kB / 1.417 GB, free: 13.16 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/1.008, allocations: 8.031 kB / 1.417 GB, free: 13.15 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/1.008, allocations: 34.75 kB / 1.417 GB, free: 13.11 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/1.008, allocations: 0.9375 kB / 1.417 GB, free: 13.11 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/1.008, allocations: 180 kB / 1.417 GB, free: 12.89 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/1.008, allocations: 4 kB / 1.417 GB, free: 12.89 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/1.008, allocations: 4 kB / 1.417 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/1.008, allocations: 100.6 kB / 1.417 GB, free: 12.78 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.008, allocations: 3.938 kB / 1.417 GB, free: 12.78 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.008, allocations: 3.984 kB / 1.417 GB, free: 12.77 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/1.008, allocations: 12 kB / 1.417 GB, free: 12.76 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/1.008, allocations: 75.95 kB / 1.417 GB, free: 12.69 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/1.009, allocations: 344.6 kB / 1.417 GB, free: 12.3 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/1.009, allocations: 86.55 kB / 1.417 GB, free: 12.21 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/1.009, allocations: 56.89 kB / 1.417 GB, free: 12.15 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009208/1.01, allocations: 469.4 kB / 1.418 GB, free: 11.6 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/1.01, allocations: 34.56 kB / 1.418 GB, free: 11.55 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/1.01, allocations: 0 / 1.418 GB, free: 11.55 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.0002803/1.01, allocations: 129.6 kB / 1.418 GB, free: 11.42 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/1.01, allocations: 51.41 kB / 1.418 GB, free: 11.36 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/1.011, allocations: 117.8 kB / 1.418 GB, free: 11.23 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/1.011, allocations: 25.7 kB / 1.418 GB, free: 11.2 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/1.011, allocations: 100.3 kB / 1.418 GB, free: 11.1 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/1.011, allocations: 39.69 kB / 1.418 GB, free: 11.06 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/1.011, allocations: 37.61 kB / 1.418 GB, free: 11.02 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.011, allocations: 318.8 kB / 1.419 GB, free: 10.7 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/1.011, allocations: 35.98 kB / 1.419 GB, free: 10.66 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.389e-05/1.011, allocations: 69.12 kB / 1.419 GB, free: 10.58 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/1.011, allocations: 121.4 kB / 1.419 GB, free: 10.44 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.011, allocations: 0 / 1.419 GB, free: 10.44 MB / 1.123 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002078/1.011, allocations: 141.4 kB / 1.419 GB, free: 10.3 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.011, allocations: 4 kB / 1.419 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.011, allocations: 256 / 1.419 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.011, allocations: 11.88 kB / 1.419 GB, free: 10.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/1.012, allocations: 27.98 kB / 1.419 GB, free: 10.25 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/1.012, allocations: 12.09 kB / 1.419 GB, free: 10.24 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/1.012, allocations: 11.95 kB / 1.419 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/1.012, allocations: 4 kB / 1.419 GB, free: 10.23 MB / 1.123 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.987e-05/1.012, allocations: 125.8 kB / 1.419 GB, free: 10.09 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/1.012, allocations: 7.953 kB / 1.419 GB, free: 10.09 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/1.012, allocations: 121.9 kB / 1.419 GB, free: 9.961 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.012, allocations: 7.938 kB / 1.419 GB, free: 9.953 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.012, allocations: 0 / 1.419 GB, free: 9.953 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.012, allocations: 7.984 kB / 1.419 GB, free: 9.945 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/1.012, allocations: 177.6 kB / 1.42 GB, free: 9.723 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.012, allocations: 0 / 1.42 GB, free: 9.723 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/1.012, allocations: 19.98 kB / 1.42 GB, free: 9.703 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.012, allocations: 0 / 1.42 GB, free: 9.703 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/1.012, allocations: 0 / 1.42 GB, free: 9.703 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/1.012, allocations: 7.938 kB / 1.42 GB, free: 9.695 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.012, allocations: 0 / 1.42 GB, free: 9.695 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/1.012, allocations: 211.5 kB / 1.42 GB, free: 9.473 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/1.013, allocations: 92.98 kB / 1.42 GB, free: 9.363 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/1.013, allocations: 4 kB / 1.42 GB, free: 9.359 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/1.013, allocations: 3.938 kB / 1.42 GB, free: 9.355 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/1.013, allocations: 4 kB / 1.42 GB, free: 9.352 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/1.013, allocations: 7.984 kB / 1.42 GB, free: 9.344 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.174e-05/1.013, allocations: 87.28 kB / 1.42 GB, free: 9.258 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.013, allocations: 0 / 1.42 GB, free: 9.258 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003476/1.013, allocations: 75.73 kB / 1.42 GB, free: 9.184 MB / 1.123 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.0007544/1.014, allocations: 0.818 MB / 1.421 GB, free: 8.34 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001769/1.014, allocations: 79.91 kB / 1.421 GB, free: 8.262 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.014, allocations: 0 / 1.421 GB, free: 8.262 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 5.674e-05/1.014, allocations: 39.91 kB / 1.421 GB, free: 8.223 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/1.014, allocations: 17.44 kB / 1.421 GB, free: 8.207 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005936/1.015, allocations: 248 kB / 1.421 GB, free: 7.926 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/1.015, allocations: 0.6966 MB / 1.422 GB, free: 7.203 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001176/1.015, allocations: 60.88 kB / 1.422 GB, free: 7.145 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/1.015, allocations: 15.44 kB / 1.422 GB, free: 7.129 MB / 1.123 GB Notification: Performance of SimCode: time 3.21e-07/1.015, allocations: 4 kB / 1.422 GB, free: 7.125 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/1.041, allocations: 3.222 MB / 1.425 GB, free: 4.109 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.316, allocations: 14.86 kB / 1.425 GB, free: 4.098 MB / 1.123 GB " [Timeout remaining time 291] (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 --stepSize=0.004 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.169271252118051]