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.0009126/0.0009126, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008213/0.0008213, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9064/0.9064, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.711/1.711, allocations: 377.8 MB / 0.6221 GB, free: 8.699 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.981 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.47e-05, allocations: 5.094 kB / 0.981 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002124/0.002149, allocations: 1.345 MB / 0.9823 GB, free: 52 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.6612/0.6634, allocations: 129.9 MB / 1.109 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.6634, allocations: 0 / 1.109 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.675e-05/0.6635, allocations: 7.781 kB / 1.109 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.6637, allocations: 37.03 kB / 1.109 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.6648, allocations: 371.8 kB / 1.11 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.6649, allocations: 63.72 kB / 1.11 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.6649, allocations: 7.406 kB / 1.11 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.944e-05/0.665, allocations: 40.45 kB / 1.11 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.6651, allocations: 53.95 kB / 1.11 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.6651, allocations: 2.594 kB / 1.11 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.6657, allocations: 371.6 kB / 1.11 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.6658, allocations: 31.55 kB / 1.11 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.6658, allocations: 18.45 kB / 1.11 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.6662, allocations: 295.5 kB / 1.11 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6662, allocations: 0 / 1.11 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6662, allocations: 0 / 1.11 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.423e-06/0.6662, allocations: 0 / 1.11 GB, free: 9.73 MB / 0.9636 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.0004016/0.6666, allocations: 335.2 kB / 1.111 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.6667, allocations: 11.75 kB / 1.111 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.6667, allocations: 33.25 kB / 1.111 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.6667, allocations: 7.375 kB / 1.111 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.627e-05/0.6668, allocations: 114.6 kB / 1.111 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.6668, allocations: 1.906 kB / 1.111 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.6668, allocations: 2.969 kB / 1.111 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.667, allocations: 95.45 kB / 1.111 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.667, allocations: 0.9688 kB / 1.111 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.667, allocations: 4 kB / 1.111 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.6671, allocations: 12.27 kB / 1.111 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.6672, allocations: 75.77 kB / 1.111 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.6675, allocations: 311 kB / 1.111 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.6677, allocations: 93.11 kB / 1.111 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.999e-05/0.6677, allocations: 49.95 kB / 1.111 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.6682, allocations: 94.27 kB / 1.112 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.6682, allocations: 32.06 kB / 1.112 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.6682, allocations: 2.531 kB / 1.112 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0002534/0.6685, allocations: 125 kB / 1.112 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.6685, allocations: 54 kB / 1.112 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.6687, allocations: 113.4 kB / 1.112 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.6687, allocations: 25.7 kB / 1.112 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.6687, allocations: 103 kB / 1.112 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.6688, allocations: 39.39 kB / 1.112 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.6688, allocations: 35.77 kB / 1.112 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.6689, allocations: 325.4 kB / 1.112 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.669, allocations: 34 kB / 1.112 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.669, allocations: 73.31 kB / 1.113 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.6692, allocations: 115.1 kB / 1.113 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6692, allocations: 0 / 1.113 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001706/0.6693, allocations: 139.5 kB / 1.113 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6693, allocations: 4.75 kB / 1.113 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6693, allocations: 2.25 kB / 1.113 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.6694, allocations: 2.594 kB / 1.113 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.6694, allocations: 27.38 kB / 1.113 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6695, allocations: 2.438 kB / 1.113 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/0.6695, allocations: 19.36 kB / 1.113 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.6695, allocations: 10.22 kB / 1.113 GB, free: 7.836 MB / 0.9636 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 7.155e-05/0.6696, allocations: 129.3 kB / 1.113 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.6696, allocations: 6.953 kB / 1.113 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.6698, allocations: 118.3 kB / 1.113 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.6698, allocations: 1.688 kB / 1.113 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6698, allocations: 0 / 1.113 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.6698, allocations: 2.203 kB / 1.113 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.6699, allocations: 168.8 kB / 1.113 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.6699, allocations: 0 / 1.113 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.67, allocations: 24.69 kB / 1.113 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.67, allocations: 1.188 kB / 1.113 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.67, allocations: 5.484 kB / 1.113 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.67, allocations: 0 / 1.113 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.67, allocations: 1.438 kB / 1.113 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.6701, allocations: 196.5 kB / 1.113 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.6701, allocations: 18.62 kB / 1.113 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.6701, allocations: 5.219 kB / 1.113 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.844e-05/0.6702, allocations: 0 / 1.113 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.6702, allocations: 10.86 kB / 1.113 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.6702, allocations: 7.125 kB / 1.113 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.6702, allocations: 94.3 kB / 1.114 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.6702, allocations: 0 / 1.114 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003338/0.6706, allocations: 79.28 kB / 1.114 GB, free: 7.172 MB / 0.9636 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.0005377/0.6711, allocations: 0.8212 MB / 1.114 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.6712, allocations: 88.05 kB / 1.115 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6712, allocations: 0 / 1.115 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.6713, allocations: 36.53 kB / 1.115 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.6715, allocations: 13.91 kB / 1.115 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.672, allocations: 243.8 kB / 1.115 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.488e-05/0.672, allocations: 77.05 kB / 1.115 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.69e-05/0.6721, allocations: 55.42 kB / 1.115 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.6722, allocations: 17.47 kB / 1.115 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.6722, allocations: 1.125 kB / 1.115 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.6898, allocations: 3.928 MB / 1.119 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.345/8.034, allocations: 8.516 kB / 1.119 GB, free: 5.121 MB / 0.9636 GB " [Timeout remaining time 292] (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/jenkins/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: 12.058262968435884]