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.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.001896/0.001896, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002271/0.002271, allocations: 214.5 kB / 22.25 MB, free: 5.258 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.403/3.403, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002112/0.002112, allocations: 64.58 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4388, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002832/0.4417, allocations: 1.353 MB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1815/0.6232, allocations: 129.8 MB / 1.492 GB, free: 10.33 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.6232, allocations: 4 kB / 1.492 GB, free: 10.32 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 4.371e-05/0.6233, allocations: 3.984 kB / 1.492 GB, free: 10.32 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.6235, allocations: 39.88 kB / 1.492 GB, free: 10.28 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.625, allocations: 358.5 kB / 1.492 GB, free: 9.93 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.6251, allocations: 63.81 kB / 1.492 GB, free: 9.867 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.6252, allocations: 4.281 kB / 1.492 GB, free: 9.863 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.6252, allocations: 31.91 kB / 1.492 GB, free: 9.832 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.6254, allocations: 63.8 kB / 1.492 GB, free: 9.77 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.6254, allocations: 4 kB / 1.492 GB, free: 9.766 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009018/0.6263, allocations: 367.2 kB / 1.492 GB, free: 9.406 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 8.238e-05/0.6264, allocations: 27.95 kB / 1.492 GB, free: 9.379 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.6264, allocations: 19.88 kB / 1.492 GB, free: 9.359 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0006807/0.6271, allocations: 271.2 kB / 1.493 GB, free: 9.094 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.6271, allocations: 3.984 kB / 1.493 GB, free: 9.09 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6271, allocations: 3.938 kB / 1.493 GB, free: 9.086 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.6271, allocations: 0 / 1.493 GB, free: 9.086 MB / 1.186 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.0005405/0.6277, allocations: 321.7 kB / 1.493 GB, free: 8.742 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.6277, allocations: 8.031 kB / 1.493 GB, free: 8.734 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.6278, allocations: 42.73 kB / 1.493 GB, free: 8.684 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.6278, allocations: 4.938 kB / 1.493 GB, free: 8.68 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.6279, allocations: 121.4 kB / 1.493 GB, free: 8.535 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.6279, allocations: 0 / 1.493 GB, free: 8.535 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.628, allocations: 4 kB / 1.493 GB, free: 8.531 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.6282, allocations: 93.66 kB / 1.493 GB, free: 8.434 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.6282, allocations: 0 / 1.493 GB, free: 8.434 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.6282, allocations: 0 / 1.493 GB, free: 8.434 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.6282, allocations: 8 kB / 1.493 GB, free: 8.426 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.6284, allocations: 79.95 kB / 1.493 GB, free: 8.348 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.629, allocations: 323.6 kB / 1.494 GB, free: 7.988 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.6291, allocations: 98.55 kB / 1.494 GB, free: 7.883 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.522e-05/0.6292, allocations: 44.89 kB / 1.494 GB, free: 7.836 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/0.63, allocations: 87.89 kB / 1.494 GB, free: 7.75 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.63, allocations: 42.5 kB / 1.494 GB, free: 7.699 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.6301, allocations: 0 / 1.494 GB, free: 7.699 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0003024/0.6304, allocations: 125.9 kB / 1.494 GB, free: 7.57 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.6304, allocations: 55.41 kB / 1.494 GB, free: 7.504 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.6305, allocations: 125.8 kB / 1.494 GB, free: 7.371 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.6305, allocations: 25.7 kB / 1.494 GB, free: 7.34 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.6306, allocations: 92.36 kB / 1.494 GB, free: 7.246 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.6307, allocations: 43.69 kB / 1.494 GB, free: 7.203 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.6307, allocations: 37.66 kB / 1.494 GB, free: 7.16 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.6309, allocations: 310.8 kB / 1.495 GB, free: 6.848 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.6309, allocations: 39.91 kB / 1.495 GB, free: 6.809 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.582e-05/0.631, allocations: 75.23 kB / 1.495 GB, free: 6.719 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.6312, allocations: 113 kB / 1.495 GB, free: 6.59 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6312, allocations: 0 / 1.495 GB, free: 6.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002444/0.6315, allocations: 137.5 kB / 1.495 GB, free: 6.449 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6315, allocations: 11.92 kB / 1.495 GB, free: 6.438 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6315, allocations: 4 kB / 1.495 GB, free: 6.434 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6315, allocations: 0 / 1.495 GB, free: 6.434 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.6316, allocations: 32.14 kB / 1.495 GB, free: 6.402 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6316, allocations: 0 / 1.495 GB, free: 6.402 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.6317, allocations: 15.89 kB / 1.495 GB, free: 6.387 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.6317, allocations: 7.938 kB / 1.495 GB, free: 6.379 MB / 1.186 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.000116/0.6318, allocations: 122.9 kB / 1.495 GB, free: 6.25 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.6318, allocations: 15.88 kB / 1.495 GB, free: 6.234 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.6321, allocations: 130 kB / 1.495 GB, free: 6.098 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6321, allocations: 4 kB / 1.495 GB, free: 6.094 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6321, allocations: 4 kB / 1.495 GB, free: 6.09 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6321, allocations: 0 / 1.495 GB, free: 6.09 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.6323, allocations: 152.7 kB / 1.496 GB, free: 5.898 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6323, allocations: 0 / 1.496 GB, free: 5.898 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.6324, allocations: 15.98 kB / 1.496 GB, free: 5.883 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.6324, allocations: 7.938 kB / 1.496 GB, free: 5.875 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.6324, allocations: 0 / 1.496 GB, free: 5.875 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6324, allocations: 0 / 1.496 GB, free: 5.875 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6324, allocations: 0 / 1.496 GB, free: 5.875 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.6326, allocations: 199.5 kB / 1.496 GB, free: 5.664 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.6327, allocations: 23.81 kB / 1.496 GB, free: 5.641 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.6327, allocations: 8 kB / 1.496 GB, free: 5.633 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.433e-05/0.6328, allocations: 256 / 1.496 GB, free: 5.633 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.6328, allocations: 11.92 kB / 1.496 GB, free: 5.621 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.6328, allocations: 8 kB / 1.496 GB, free: 5.613 MB / 1.186 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.6329, allocations: 87.28 kB / 1.496 GB, free: 5.527 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6329, allocations: 0 / 1.496 GB, free: 5.527 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003935/0.6333, allocations: 79.73 kB / 1.496 GB, free: 5.449 MB / 1.186 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.0008496/0.6341, allocations: 0.8213 MB / 1.497 GB, free: 4.602 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.6343, allocations: 75.89 kB / 1.497 GB, free: 4.527 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.6343, allocations: 4 kB / 1.497 GB, free: 4.523 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 5.638e-05/0.6344, allocations: 35.92 kB / 1.497 GB, free: 4.488 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.6347, allocations: 16.75 kB / 1.497 GB, free: 4.473 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/0.6353, allocations: 236.6 kB / 1.497 GB, free: 4.203 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.647e-05/0.6354, allocations: 83.08 kB / 1.497 GB, free: 4.102 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.6355, allocations: 52.38 kB / 1.497 GB, free: 4.051 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.6356, allocations: 15.44 kB / 1.497 GB, free: 4.035 MB / 1.186 GB Notification: Performance of SimCode: time 6.01e-07/0.6356, allocations: 0 / 1.497 GB, free: 4.035 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.6737, allocations: 3.761 MB / 1.501 GB, free: 468 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.58, allocations: 5.578 kB / 1.501 GB, free: 464 kB / 1.186 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.916860040742904]