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.001532/0.001532, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001714/0.001714, allocations: 225.2 kB / 22.25 MB, free: 5.254 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.793 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.149/3.149, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.002015/0.002015, allocations: 62.19 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3964, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002753/0.3992, allocations: 1.355 MB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1786/0.5778, allocations: 129.8 MB / 1.454 GB, free: 13.81 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.5778, allocations: 0 / 1.454 GB, free: 13.81 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.968e-05/0.5779, allocations: 11.88 kB / 1.454 GB, free: 13.8 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.5781, allocations: 51.86 kB / 1.454 GB, free: 13.75 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.5794, allocations: 346.6 kB / 1.454 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.5795, allocations: 71.72 kB / 1.454 GB, free: 13.34 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.5796, allocations: 4.281 kB / 1.454 GB, free: 13.33 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 6.006e-05/0.5796, allocations: 39.84 kB / 1.454 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.5798, allocations: 59.86 kB / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.5798, allocations: 0 / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007725/0.5806, allocations: 379.1 kB / 1.455 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.5806, allocations: 23.97 kB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.5807, allocations: 23.86 kB / 1.455 GB, free: 12.82 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.5811, allocations: 263.3 kB / 1.455 GB, free: 12.56 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5812, allocations: 0 / 1.455 GB, free: 12.56 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5812, allocations: 3.938 kB / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.5812, allocations: 0 / 1.455 GB, free: 12.55 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.0004839/0.5816, allocations: 325.7 kB / 1.456 GB, free: 12.21 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5817, allocations: 15.97 kB / 1.456 GB, free: 12.19 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.5817, allocations: 34.75 kB / 1.456 GB, free: 12.15 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.5818, allocations: 8.891 kB / 1.456 GB, free: 12.14 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.5819, allocations: 118.2 kB / 1.456 GB, free: 12 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.5819, allocations: 3.984 kB / 1.456 GB, free: 12 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.5819, allocations: 8 kB / 1.456 GB, free: 11.99 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.5821, allocations: 89.66 kB / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.5821, allocations: 0 / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.5821, allocations: 7.938 kB / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.5822, allocations: 12 kB / 1.456 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.5823, allocations: 79.95 kB / 1.456 GB, free: 11.8 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.5828, allocations: 307.8 kB / 1.456 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.583, allocations: 90.55 kB / 1.456 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.684e-05/0.5831, allocations: 64.84 kB / 1.456 GB, free: 11.29 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007443/0.5838, allocations: 83.89 kB / 1.456 GB, free: 11.21 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.5838, allocations: 38.56 kB / 1.456 GB, free: 11.16 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.5838, allocations: 0 / 1.456 GB, free: 11.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0003539/0.5842, allocations: 121.5 kB / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.5842, allocations: 51.41 kB / 1.457 GB, free: 10.97 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.5843, allocations: 121.8 kB / 1.457 GB, free: 10.84 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.5844, allocations: 29.7 kB / 1.457 GB, free: 10.81 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.5844, allocations: 100.3 kB / 1.457 GB, free: 10.71 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.5844, allocations: 43.62 kB / 1.457 GB, free: 10.66 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.5845, allocations: 33.7 kB / 1.457 GB, free: 10.62 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5846, allocations: 314.8 kB / 1.457 GB, free: 10.31 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.5847, allocations: 39.84 kB / 1.457 GB, free: 10.27 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.5848, allocations: 75.11 kB / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.5849, allocations: 109.8 kB / 1.457 GB, free: 10.05 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5849, allocations: 4 kB / 1.457 GB, free: 10.05 MB / 1.154 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002051/0.5851, allocations: 145.5 kB / 1.458 GB, free: 9.902 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.5852, allocations: 8 kB / 1.458 GB, free: 9.895 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5852, allocations: 0 / 1.458 GB, free: 9.895 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5852, allocations: 7.938 kB / 1.458 GB, free: 9.887 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.5853, allocations: 31.92 kB / 1.458 GB, free: 9.855 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.5853, allocations: 4 kB / 1.458 GB, free: 9.852 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.5854, allocations: 11.94 kB / 1.458 GB, free: 9.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.5854, allocations: 4 kB / 1.458 GB, free: 9.836 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 0.0001035/0.5855, allocations: 126.2 kB / 1.458 GB, free: 9.703 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.5855, allocations: 11.95 kB / 1.458 GB, free: 9.691 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.5858, allocations: 118 kB / 1.458 GB, free: 9.57 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5858, allocations: 3.938 kB / 1.458 GB, free: 9.566 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5858, allocations: 4 kB / 1.458 GB, free: 9.562 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5858, allocations: 0 / 1.458 GB, free: 9.562 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.586, allocations: 144.7 kB / 1.458 GB, free: 9.379 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.586, allocations: 3.938 kB / 1.458 GB, free: 9.375 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.586, allocations: 19.98 kB / 1.458 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.586, allocations: 0 / 1.458 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.5861, allocations: 8 kB / 1.458 GB, free: 9.348 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.5861, allocations: 11.88 kB / 1.458 GB, free: 9.336 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5861, allocations: 0 / 1.458 GB, free: 9.336 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.5863, allocations: 199.6 kB / 1.458 GB, free: 9.125 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 3.876e-05/0.5863, allocations: 15.89 kB / 1.458 GB, free: 9.109 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.5863, allocations: 7.984 kB / 1.458 GB, free: 9.102 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.53e-05/0.5864, allocations: 3.938 kB / 1.458 GB, free: 9.098 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.5864, allocations: 7.984 kB / 1.458 GB, free: 9.09 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.5864, allocations: 4 kB / 1.458 GB, free: 9.086 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.918e-05/0.5865, allocations: 83.28 kB / 1.458 GB, free: 9.004 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5865, allocations: 0 / 1.458 GB, free: 9.004 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003715/0.5868, allocations: 83.73 kB / 1.458 GB, free: 8.922 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.0007684/0.5876, allocations: 0.8146 MB / 1.459 GB, free: 8.082 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.5878, allocations: 83.83 kB / 1.459 GB, free: 8 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5878, allocations: 4 kB / 1.459 GB, free: 7.996 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.5878, allocations: 35.86 kB / 1.459 GB, free: 7.961 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.5881, allocations: 36.41 kB / 1.459 GB, free: 7.93 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.5887, allocations: 236.3 kB / 1.46 GB, free: 7.66 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.339e-05/0.5887, allocations: 71.97 kB / 1.46 GB, free: 7.57 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.5889, allocations: 57.02 kB / 1.46 GB, free: 7.512 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.5889, allocations: 19.38 kB / 1.46 GB, free: 7.492 MB / 1.154 GB Notification: Performance of SimCode: time 2.9e-07/0.5889, allocations: 0 / 1.46 GB, free: 7.492 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.6216, allocations: 3.809 MB / 1.464 GB, free: 3.867 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.27, allocations: 14.06 kB / 1.464 GB, free: 3.855 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: 19.038904938002815]