Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 103.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002727/0.002727, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.236/3.236, allocations: 0.49 GB / 0.7916 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 77.62 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4138, allocations: 176.1 MB / 1.321 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003114/0.4169, allocations: 1.34 MB / 1.322 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1978/0.6147, allocations: 151.1 MB / 1.47 GB, free: 10.18 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.6148, allocations: 0 / 1.47 GB, free: 10.18 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/0.6148, allocations: 7.922 kB / 1.47 GB, free: 10.17 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.615, allocations: 43.75 kB / 1.47 GB, free: 10.13 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.6163, allocations: 366.5 kB / 1.47 GB, free: 9.773 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.6165, allocations: 67.75 kB / 1.47 GB, free: 9.707 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.6165, allocations: 8 kB / 1.47 GB, free: 9.699 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.6165, allocations: 31.97 kB / 1.47 GB, free: 9.668 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.6167, allocations: 55.86 kB / 1.47 GB, free: 9.613 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.6167, allocations: 4 kB / 1.47 GB, free: 9.609 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008837/0.6176, allocations: 439 kB / 1.471 GB, free: 9.18 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.6177, allocations: 23.91 kB / 1.471 GB, free: 9.156 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.6179, allocations: 23.92 kB / 1.471 GB, free: 9.133 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007308/0.6186, allocations: 287.4 kB / 1.471 GB, free: 8.852 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6186, allocations: 0 / 1.471 GB, free: 8.852 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6186, allocations: 0 / 1.471 GB, free: 8.852 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.6186, allocations: 0 / 1.471 GB, free: 8.852 MB / 1.17 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.0005204/0.6191, allocations: 402.8 kB / 1.471 GB, free: 8.41 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.6192, allocations: 11.98 kB / 1.471 GB, free: 8.398 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.6192, allocations: 38.75 kB / 1.471 GB, free: 8.352 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.6192, allocations: 12.88 kB / 1.471 GB, free: 8.34 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.6194, allocations: 176 kB / 1.472 GB, free: 8.129 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.6194, allocations: 0 / 1.472 GB, free: 8.129 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.6194, allocations: 8 kB / 1.472 GB, free: 8.121 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.6196, allocations: 85.66 kB / 1.472 GB, free: 8.031 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.6196, allocations: 7.938 kB / 1.472 GB, free: 8.023 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.6196, allocations: 0 / 1.472 GB, free: 8.023 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.6196, allocations: 11.98 kB / 1.472 GB, free: 8.012 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.6198, allocations: 82.62 kB / 1.472 GB, free: 7.934 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.6202, allocations: 344.7 kB / 1.472 GB, free: 7.547 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.6204, allocations: 98.47 kB / 1.472 GB, free: 7.441 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.6205, allocations: 44.91 kB / 1.472 GB, free: 7.395 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008992/0.6214, allocations: 473.4 kB / 1.473 GB, free: 6.84 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.6214, allocations: 42.55 kB / 1.473 GB, free: 6.789 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.6214, allocations: 4 kB / 1.473 GB, free: 6.785 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.0002707/0.6217, allocations: 121.9 kB / 1.473 GB, free: 6.66 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.6217, allocations: 51.41 kB / 1.473 GB, free: 6.598 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.517e-05/0.6218, allocations: 113.8 kB / 1.473 GB, free: 6.477 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.6218, allocations: 29.7 kB / 1.473 GB, free: 6.441 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.6219, allocations: 108.3 kB / 1.473 GB, free: 6.332 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.6219, allocations: 39.69 kB / 1.473 GB, free: 6.293 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.622, allocations: 33.66 kB / 1.473 GB, free: 6.254 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6221, allocations: 318.8 kB / 1.474 GB, free: 5.934 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.6222, allocations: 27.98 kB / 1.474 GB, free: 5.906 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.6223, allocations: 73.12 kB / 1.474 GB, free: 5.816 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.6224, allocations: 117.1 kB / 1.474 GB, free: 5.684 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6224, allocations: 3.938 kB / 1.474 GB, free: 5.68 MB / 1.17 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002069/0.6226, allocations: 141.5 kB / 1.474 GB, free: 5.535 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6226, allocations: 4 kB / 1.474 GB, free: 5.531 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.6226, allocations: 3.938 kB / 1.474 GB, free: 5.527 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6226, allocations: 7.938 kB / 1.474 GB, free: 5.52 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.6228, allocations: 23.98 kB / 1.474 GB, free: 5.496 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.6228, allocations: 4 kB / 1.474 GB, free: 5.492 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.6228, allocations: 15.89 kB / 1.474 GB, free: 5.477 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.6228, allocations: 4 kB / 1.474 GB, free: 5.473 MB / 1.17 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.893e-05/0.6229, allocations: 129.9 kB / 1.474 GB, free: 5.336 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.6229, allocations: 7.953 kB / 1.474 GB, free: 5.328 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.6232, allocations: 122 kB / 1.474 GB, free: 5.203 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6232, allocations: 3.938 kB / 1.474 GB, free: 5.199 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6232, allocations: 0 / 1.474 GB, free: 5.199 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.6232, allocations: 7.984 kB / 1.474 GB, free: 5.191 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.6234, allocations: 177.6 kB / 1.474 GB, free: 4.969 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.6234, allocations: 0 / 1.474 GB, free: 4.969 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.6234, allocations: 19.94 kB / 1.474 GB, free: 4.949 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6234, allocations: 4 kB / 1.474 GB, free: 4.945 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.6235, allocations: 0 / 1.474 GB, free: 4.945 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.6235, allocations: 11.88 kB / 1.474 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6235, allocations: 0 / 1.474 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.6237, allocations: 195.5 kB / 1.475 GB, free: 4.727 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.6237, allocations: 93.05 kB / 1.475 GB, free: 4.617 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.6237, allocations: 256 / 1.475 GB, free: 4.617 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.763e-05/0.6238, allocations: 11.94 kB / 1.475 GB, free: 4.605 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.6238, allocations: 15.92 kB / 1.475 GB, free: 4.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.6238, allocations: 4 kB / 1.475 GB, free: 4.586 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.6239, allocations: 87.28 kB / 1.475 GB, free: 4.5 MB / 1.17 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6239, allocations: 0 / 1.475 GB, free: 4.5 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003545/0.6242, allocations: 79.67 kB / 1.475 GB, free: 4.422 MB / 1.17 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.000754/0.625, allocations: 0.8176 MB / 1.476 GB, free: 3.578 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.6252, allocations: 83.77 kB / 1.476 GB, free: 3.496 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6252, allocations: 0 / 1.476 GB, free: 3.496 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.6252, allocations: 31.98 kB / 1.476 GB, free: 3.465 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.6255, allocations: 26.73 kB / 1.476 GB, free: 3.441 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.6261, allocations: 248.7 kB / 1.476 GB, free: 3.156 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.6264, allocations: 0.6885 MB / 1.477 GB, free: 2.441 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001144/0.6265, allocations: 52.42 kB / 1.477 GB, free: 2.391 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.6265, allocations: 19.44 kB / 1.477 GB, free: 2.371 MB / 1.17 GB Notification: Performance of SimCode: time 2.61e-07/0.6265, allocations: 0 / 1.477 GB, free: 2.371 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.6544, allocations: 3.263 MB / 1.48 GB, free: 15.31 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.661/9.315, allocations: 17.39 kB / 1.48 GB, free: 15.29 MB / 1.186 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.409143666969612]