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.001575/0.001575, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001794/0.001794, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.124/3.124, allocations: 0.49 GB / 0.7959 GB, free: 35.35 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",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="cs",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.001969/0.001969, allocations: 71.61 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4049, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002654/0.4076, allocations: 1.343 MB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.169/0.5766, allocations: 129.7 MB / 1.455 GB, free: 13.89 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.5767, allocations: 0 / 1.455 GB, free: 13.89 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.5767, allocations: 11.92 kB / 1.455 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.5769, allocations: 47.86 kB / 1.455 GB, free: 13.83 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.5782, allocations: 358.6 kB / 1.455 GB, free: 13.48 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.5784, allocations: 63.73 kB / 1.455 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.5784, allocations: 288 / 1.455 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 6.053e-05/0.5785, allocations: 43.83 kB / 1.455 GB, free: 13.37 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.5786, allocations: 55.88 kB / 1.455 GB, free: 13.32 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.5786, allocations: 0 / 1.455 GB, free: 13.32 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008257/0.5794, allocations: 375.2 kB / 1.456 GB, free: 12.95 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.5795, allocations: 23.97 kB / 1.456 GB, free: 12.93 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.5795, allocations: 27.84 kB / 1.456 GB, free: 12.9 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.58, allocations: 271.2 kB / 1.456 GB, free: 12.63 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.58, allocations: 0 / 1.456 GB, free: 12.63 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.854e-06/0.58, allocations: 4 kB / 1.456 GB, free: 12.63 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.58, allocations: 0 / 1.456 GB, free: 12.63 MB / 1.154 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.0004356/0.5805, allocations: 319.4 kB / 1.456 GB, free: 12.29 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.5805, allocations: 12.03 kB / 1.456 GB, free: 12.28 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.334e-05/0.5805, allocations: 4.125 kB / 1.456 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.5806, allocations: 42.73 kB / 1.456 GB, free: 12.22 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.5806, allocations: 8.891 kB / 1.456 GB, free: 12.21 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.5807, allocations: 118 kB / 1.456 GB, free: 12.07 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5807, allocations: 4 kB / 1.456 GB, free: 12.07 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.5807, allocations: 7.984 kB / 1.456 GB, free: 12.06 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.5809, allocations: 93.66 kB / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5809, allocations: 3.984 kB / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.581, allocations: 0 / 1.456 GB, free: 11.96 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.581, allocations: 15.98 kB / 1.456 GB, free: 11.95 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.5811, allocations: 79.89 kB / 1.457 GB, free: 11.87 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.5816, allocations: 315.7 kB / 1.457 GB, free: 11.52 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.5818, allocations: 94.53 kB / 1.457 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.5819, allocations: 44.91 kB / 1.457 GB, free: 11.37 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/0.5826, allocations: 91.89 kB / 1.457 GB, free: 11.28 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.5826, allocations: 34.59 kB / 1.457 GB, free: 11.23 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.5826, allocations: 0 / 1.457 GB, free: 11.23 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0002834/0.5829, allocations: 125.5 kB / 1.457 GB, free: 11.11 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.5829, allocations: 55.41 kB / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.583, allocations: 113.8 kB / 1.457 GB, free: 10.92 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5831, allocations: 25.7 kB / 1.457 GB, free: 10.89 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.5831, allocations: 104.3 kB / 1.458 GB, free: 10.78 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.5832, allocations: 39.69 kB / 1.458 GB, free: 10.74 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.5832, allocations: 33.72 kB / 1.458 GB, free: 10.7 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5833, allocations: 318.8 kB / 1.458 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.687e-05/0.5834, allocations: 31.98 kB / 1.458 GB, free: 10.35 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.5835, allocations: 73.06 kB / 1.458 GB, free: 10.26 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.5837, allocations: 109.1 kB / 1.458 GB, free: 10.14 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5837, allocations: 0 / 1.458 GB, free: 10.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002119/0.5839, allocations: 145.9 kB / 1.458 GB, free: 9.988 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5839, allocations: 4 kB / 1.458 GB, free: 9.984 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5839, allocations: 4 kB / 1.458 GB, free: 9.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5839, allocations: 3.938 kB / 1.458 GB, free: 9.977 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.584, allocations: 31.92 kB / 1.458 GB, free: 9.945 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.584, allocations: 3.984 kB / 1.458 GB, free: 9.941 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.5841, allocations: 15.89 kB / 1.458 GB, free: 9.926 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.5841, allocations: 8 kB / 1.458 GB, free: 9.918 MB / 1.154 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.719e-05/0.5842, allocations: 126.5 kB / 1.458 GB, free: 9.785 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.5842, allocations: 3.938 kB / 1.458 GB, free: 9.781 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.5845, allocations: 141.8 kB / 1.459 GB, free: 9.637 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5845, allocations: 0 / 1.459 GB, free: 9.637 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5845, allocations: 0 / 1.459 GB, free: 9.637 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5845, allocations: 0 / 1.459 GB, free: 9.637 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.5847, allocations: 152.7 kB / 1.459 GB, free: 9.445 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5847, allocations: 0 / 1.459 GB, free: 9.445 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.5847, allocations: 16 kB / 1.459 GB, free: 9.43 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5847, allocations: 4 kB / 1.459 GB, free: 9.426 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5847, allocations: 8.188 kB / 1.459 GB, free: 9.418 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.5847, allocations: 7.984 kB / 1.459 GB, free: 9.41 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5847, allocations: 0 / 1.459 GB, free: 9.41 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.5849, allocations: 195.4 kB / 1.459 GB, free: 9.203 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.585, allocations: 23.88 kB / 1.459 GB, free: 9.18 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.585, allocations: 7.938 kB / 1.459 GB, free: 9.172 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.585, allocations: 4 kB / 1.459 GB, free: 9.168 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.5851, allocations: 7.922 kB / 1.459 GB, free: 9.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.5851, allocations: 4 kB / 1.459 GB, free: 9.156 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.667e-05/0.5851, allocations: 95.27 kB / 1.459 GB, free: 9.062 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5851, allocations: 0 / 1.459 GB, free: 9.062 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003369/0.5855, allocations: 75.75 kB / 1.459 GB, free: 8.988 MB / 1.154 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.0007388/0.5862, allocations: 0.8138 MB / 1.46 GB, free: 8.148 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.5864, allocations: 84.02 kB / 1.46 GB, free: 8.066 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5864, allocations: 4.125 kB / 1.46 GB, free: 8.062 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.346e-05/0.5864, allocations: 35.92 kB / 1.46 GB, free: 8.027 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.5867, allocations: 15.98 kB / 1.46 GB, free: 8.012 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.5872, allocations: 242.4 kB / 1.46 GB, free: 7.738 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.5873, allocations: 75.33 kB / 1.46 GB, free: 7.645 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.5874, allocations: 52.92 kB / 1.46 GB, free: 7.59 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.5875, allocations: 19.42 kB / 1.46 GB, free: 7.57 MB / 1.154 GB Notification: Performance of SimCode: time 2.61e-07/0.5875, allocations: 0 / 1.46 GB, free: 7.57 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.6125, allocations: 3.464 MB / 1.464 GB, free: 4.312 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.91, allocations: 4 kB / 1.464 GB, free: 4.309 MB / 1.154 GB " [Timeout remaining time 288] (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: 18.767607263987884]