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.001538/0.001538, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002246/0.002246, allocations: 216.8 kB / 22.25 MB, free: 5.078 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.631/1.631, allocations: 230.6 MB / 256 MB, free: 8.043 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.591/3.591, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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.002048/0.002048, allocations: 70.53 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.449, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003193/0.4522, allocations: 1.362 MB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2051/0.6573, allocations: 151.2 MB / 1.475 GB, free: 8.824 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.6573, allocations: 0 / 1.475 GB, free: 8.824 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 4.474e-05/0.6574, allocations: 7.938 kB / 1.475 GB, free: 8.816 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.6576, allocations: 43.86 kB / 1.475 GB, free: 8.773 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.659, allocations: 366.6 kB / 1.475 GB, free: 8.414 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.6591, allocations: 71.75 kB / 1.475 GB, free: 8.344 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.6592, allocations: 4.266 kB / 1.475 GB, free: 8.34 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/0.6593, allocations: 35.86 kB / 1.475 GB, free: 8.305 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.6594, allocations: 59.86 kB / 1.475 GB, free: 8.246 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.6594, allocations: 0 / 1.475 GB, free: 8.246 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.6605, allocations: 451 kB / 1.476 GB, free: 7.805 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/0.6606, allocations: 23.91 kB / 1.476 GB, free: 7.781 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.6607, allocations: 19.94 kB / 1.476 GB, free: 7.762 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006966/0.6614, allocations: 279.2 kB / 1.476 GB, free: 7.488 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6614, allocations: 0 / 1.476 GB, free: 7.488 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6614, allocations: 3.938 kB / 1.476 GB, free: 7.484 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.6614, allocations: 0 / 1.476 GB, free: 7.484 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.0005647/0.6619, allocations: 329.6 kB / 1.477 GB, free: 7.133 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.662, allocations: 12.03 kB / 1.477 GB, free: 7.121 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/0.662, allocations: 30.75 kB / 1.477 GB, free: 7.082 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.6621, allocations: 12.89 kB / 1.477 GB, free: 7.07 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.6622, allocations: 114.2 kB / 1.477 GB, free: 6.934 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.6622, allocations: 7.984 kB / 1.477 GB, free: 6.926 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.6622, allocations: 4 kB / 1.477 GB, free: 6.922 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.6625, allocations: 97.58 kB / 1.477 GB, free: 6.82 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6625, allocations: 0 / 1.477 GB, free: 6.82 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.6625, allocations: 4 kB / 1.477 GB, free: 6.816 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.6625, allocations: 12 kB / 1.477 GB, free: 6.805 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.6627, allocations: 75.95 kB / 1.477 GB, free: 6.73 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.6632, allocations: 311.8 kB / 1.477 GB, free: 6.383 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.6634, allocations: 102.5 kB / 1.477 GB, free: 6.273 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.075e-05/0.6635, allocations: 52.89 kB / 1.477 GB, free: 6.219 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008022/0.6643, allocations: 91.83 kB / 1.477 GB, free: 6.129 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.6643, allocations: 30.56 kB / 1.477 GB, free: 6.09 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.6643, allocations: 0 / 1.477 GB, free: 6.09 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.0003145/0.6646, allocations: 125.5 kB / 1.478 GB, free: 5.961 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.6647, allocations: 55.41 kB / 1.478 GB, free: 5.895 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.6648, allocations: 109.8 kB / 1.478 GB, free: 5.777 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.6648, allocations: 25.7 kB / 1.478 GB, free: 5.746 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.6649, allocations: 108.3 kB / 1.478 GB, free: 5.637 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.665, allocations: 39.62 kB / 1.478 GB, free: 5.598 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.665, allocations: 37.64 kB / 1.478 GB, free: 5.555 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6652, allocations: 314.8 kB / 1.478 GB, free: 5.238 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.676e-05/0.6652, allocations: 27.98 kB / 1.478 GB, free: 5.211 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.6654, allocations: 73.12 kB / 1.478 GB, free: 5.121 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.6655, allocations: 117 kB / 1.478 GB, free: 4.988 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6655, allocations: 0 / 1.478 GB, free: 4.988 MB / 1.17 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002446/0.6658, allocations: 141.5 kB / 1.479 GB, free: 4.844 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.6658, allocations: 8 kB / 1.479 GB, free: 4.836 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6658, allocations: 3.938 kB / 1.479 GB, free: 4.832 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.6658, allocations: 7.938 kB / 1.479 GB, free: 4.824 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.6659, allocations: 27.92 kB / 1.479 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.666, allocations: 4 kB / 1.479 GB, free: 4.793 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.666, allocations: 7.891 kB / 1.479 GB, free: 4.785 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.666, allocations: 12.25 kB / 1.479 GB, free: 4.773 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 0.0001313/0.6661, allocations: 126.4 kB / 1.479 GB, free: 4.641 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.6662, allocations: 7.984 kB / 1.479 GB, free: 4.633 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.6664, allocations: 130.4 kB / 1.479 GB, free: 4.5 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6664, allocations: 3.938 kB / 1.479 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6664, allocations: 4 kB / 1.479 GB, free: 4.492 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6665, allocations: 0 / 1.479 GB, free: 4.492 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.6667, allocations: 152.7 kB / 1.479 GB, free: 4.301 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6667, allocations: 0 / 1.479 GB, free: 4.301 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.6668, allocations: 23.94 kB / 1.479 GB, free: 4.277 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6668, allocations: 4 kB / 1.479 GB, free: 4.273 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.6668, allocations: 0 / 1.479 GB, free: 4.273 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.6668, allocations: 11.86 kB / 1.479 GB, free: 4.262 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6668, allocations: 0 / 1.479 GB, free: 4.262 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.667, allocations: 191.5 kB / 1.479 GB, free: 4.059 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.667, allocations: 27.88 kB / 1.479 GB, free: 4.031 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.6671, allocations: 0 / 1.479 GB, free: 4.031 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.6671, allocations: 3.938 kB / 1.479 GB, free: 4.027 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.6671, allocations: 15.98 kB / 1.479 GB, free: 4.012 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.6672, allocations: 4 kB / 1.479 GB, free: 4.008 MB / 1.17 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.6672, allocations: 87.27 kB / 1.479 GB, free: 3.922 MB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/0.6672, allocations: 0 / 1.479 GB, free: 3.922 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003891/0.6676, allocations: 75.75 kB / 1.479 GB, free: 3.848 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.0008599/0.6685, allocations: 0.8136 MB / 1.48 GB, free: 3.008 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.6687, allocations: 88.09 kB / 1.48 GB, free: 2.922 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6687, allocations: 0 / 1.48 GB, free: 2.922 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.6687, allocations: 35.92 kB / 1.48 GB, free: 2.887 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.669, allocations: 30 kB / 1.48 GB, free: 2.859 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.6696, allocations: 232.3 kB / 1.481 GB, free: 2.594 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.67, allocations: 0.6885 MB / 1.481 GB, free: 1.879 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.6701, allocations: 52.81 kB / 1.481 GB, free: 1.824 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.6702, allocations: 27.36 kB / 1.481 GB, free: 1.797 MB / 1.17 GB Notification: Performance of SimCode: time 3.91e-07/0.6702, allocations: 0 / 1.481 GB, free: 1.797 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.7046, allocations: 3.393 MB / 1.485 GB, free: 14.58 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.42, allocations: 11.2 kB / 1.485 GB, free: 14.58 MB / 1.186 GB " [Timeout remaining time 287] (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: 20.052689464064315]