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.001504/0.001504, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001626/0.001626, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.925/2.925, allocations: 0.49 GB / 0.7923 GB, free: 1.309 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="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.002023/0.002023, allocations: 64.19 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9338/0.9359, allocations: 176.1 MB / 1.322 GB, free: 24.81 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002205/0.9381, allocations: 1.353 MB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2141/1.152, allocations: 151.1 MB / 1.47 GB, free: 9.457 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/1.152, allocations: 0 / 1.47 GB, free: 9.457 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.576e-05/1.152, allocations: 1.531 kB / 1.47 GB, free: 9.457 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/1.152, allocations: 47.83 kB / 1.47 GB, free: 9.426 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/1.154, allocations: 365.9 kB / 1.471 GB, free: 9.172 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/1.154, allocations: 65.52 kB / 1.471 GB, free: 9.145 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/1.154, allocations: 6.547 kB / 1.471 GB, free: 9.141 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/1.154, allocations: 34.78 kB / 1.471 GB, free: 9.125 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/1.154, allocations: 59.38 kB / 1.471 GB, free: 9.098 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/1.154, allocations: 1.188 kB / 1.471 GB, free: 9.098 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000883/1.155, allocations: 431.8 kB / 1.471 GB, free: 8.859 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/1.155, allocations: 32.88 kB / 1.471 GB, free: 8.84 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/1.155, allocations: 24.69 kB / 1.471 GB, free: 8.828 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000495/1.156, allocations: 277.6 kB / 1.472 GB, free: 8.691 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.156, allocations: 1.5 kB / 1.472 GB, free: 8.691 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.523e-06/1.156, allocations: 0 / 1.472 GB, free: 8.691 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.652e-06/1.156, allocations: 0 / 1.472 GB, free: 8.691 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.0005557/1.156, allocations: 409.9 kB / 1.472 GB, free: 8.273 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.156, allocations: 13.39 kB / 1.472 GB, free: 8.27 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.927e-05/1.156, allocations: 1.531 kB / 1.472 GB, free: 8.27 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/1.156, allocations: 41.91 kB / 1.472 GB, free: 8.223 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/1.156, allocations: 6.953 kB / 1.472 GB, free: 8.219 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/1.157, allocations: 170.3 kB / 1.472 GB, free: 8.016 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/1.157, allocations: 1.344 kB / 1.472 GB, free: 8.016 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/1.157, allocations: 6.5 kB / 1.472 GB, free: 8.012 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/1.157, allocations: 97.67 kB / 1.472 GB, free: 7.949 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.157, allocations: 5.438 kB / 1.472 GB, free: 7.945 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/1.157, allocations: 0 / 1.472 GB, free: 7.945 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/1.157, allocations: 13.84 kB / 1.472 GB, free: 7.941 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/1.157, allocations: 79.02 kB / 1.473 GB, free: 7.914 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/1.158, allocations: 333.5 kB / 1.473 GB, free: 7.594 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/1.158, allocations: 99.89 kB / 1.473 GB, free: 7.539 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/1.158, allocations: 51.17 kB / 1.473 GB, free: 7.512 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009346/1.159, allocations: 482 kB / 1.473 GB, free: 6.996 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/1.159, allocations: 35.69 kB / 1.473 GB, free: 6.953 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/1.159, allocations: 0 / 1.473 GB, free: 6.953 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0003115/1.159, allocations: 127 kB / 1.474 GB, free: 6.883 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/1.159, allocations: 56.69 kB / 1.474 GB, free: 6.816 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/1.159, allocations: 109.6 kB / 1.474 GB, free: 6.711 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/1.159, allocations: 30.95 kB / 1.474 GB, free: 6.676 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/1.159, allocations: 98.94 kB / 1.474 GB, free: 6.578 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/1.159, allocations: 43.69 kB / 1.474 GB, free: 6.539 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/1.159, allocations: 29.91 kB / 1.474 GB, free: 6.516 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.16, allocations: 321.7 kB / 1.474 GB, free: 6.195 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/1.16, allocations: 31.73 kB / 1.474 GB, free: 6.184 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.39e-05/1.16, allocations: 74.34 kB / 1.474 GB, free: 6.117 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/1.16, allocations: 114.6 kB / 1.474 GB, free: 6.035 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.16, allocations: 256 / 1.474 GB, free: 6.035 MB / 1.154 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002089/1.16, allocations: 138.2 kB / 1.475 GB, free: 5.961 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.16, allocations: 11.5 kB / 1.475 GB, free: 5.957 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.16, allocations: 5.406 kB / 1.475 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/1.16, allocations: 5.219 kB / 1.475 GB, free: 5.949 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/1.16, allocations: 30.27 kB / 1.475 GB, free: 5.941 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.16, allocations: 2.062 kB / 1.475 GB, free: 5.941 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/1.16, allocations: 20.17 kB / 1.475 GB, free: 5.926 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.16, allocations: 3.688 kB / 1.475 GB, free: 5.926 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.0001051/1.16, allocations: 124.3 kB / 1.475 GB, free: 5.805 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/1.16, allocations: 11.98 kB / 1.475 GB, free: 5.797 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/1.161, allocations: 122.4 kB / 1.475 GB, free: 5.719 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.161, allocations: 1.344 kB / 1.475 GB, free: 5.719 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.161, allocations: 4 kB / 1.475 GB, free: 5.715 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/1.161, allocations: 9.5 kB / 1.475 GB, free: 5.707 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/1.161, allocations: 180.3 kB / 1.475 GB, free: 5.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.161, allocations: 0 / 1.475 GB, free: 5.5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/1.161, allocations: 18.39 kB / 1.475 GB, free: 5.496 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.161, allocations: 0 / 1.475 GB, free: 5.496 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/1.161, allocations: 9.719 kB / 1.475 GB, free: 5.488 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/1.161, allocations: 3.938 kB / 1.475 GB, free: 5.484 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.161, allocations: 1.156 kB / 1.475 GB, free: 5.484 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/1.161, allocations: 198.5 kB / 1.475 GB, free: 5.32 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/1.161, allocations: 94.23 kB / 1.475 GB, free: 5.215 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/1.161, allocations: 9 kB / 1.475 GB, free: 5.207 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/1.161, allocations: 5.062 kB / 1.475 GB, free: 5.203 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/1.161, allocations: 3.719 kB / 1.475 GB, free: 5.203 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/1.161, allocations: 6.422 kB / 1.475 GB, free: 5.199 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.378e-05/1.161, allocations: 87.59 kB / 1.476 GB, free: 5.121 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.161, allocations: 0 / 1.476 GB, free: 5.121 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004256/1.162, allocations: 77.58 kB / 1.476 GB, free: 5.098 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.0008222/1.163, allocations: 0.8115 MB / 1.476 GB, free: 4.371 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002097/1.163, allocations: 88.78 kB / 1.476 GB, free: 4.336 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.163, allocations: 0 / 1.476 GB, free: 4.336 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/1.163, allocations: 40.05 kB / 1.477 GB, free: 4.32 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/1.163, allocations: 14.69 kB / 1.477 GB, free: 4.312 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/1.164, allocations: 257.2 kB / 1.477 GB, free: 4.098 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/1.164, allocations: 0.6868 MB / 1.477 GB, free: 3.398 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001137/1.164, allocations: 56.73 kB / 1.478 GB, free: 3.371 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/1.164, allocations: 21.22 kB / 1.478 GB, free: 3.355 MB / 1.154 GB Notification: Performance of SimCode: time 3.1e-07/1.164, allocations: 5.156 kB / 1.478 GB, free: 3.352 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/1.188, allocations: 3.301 MB / 1.481 GB, free: 1.715 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/9.528, allocations: 17.97 kB / 1.481 GB, free: 1.703 MB / 1.154 GB " [Timeout remaining time 290] (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: 16.158657193998806]