Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001235/0.001235, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001506/0.001506, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.909/0.909, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.667/1.667, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9505 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.146e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00178/0.001802, allocations: 1.345 MB / 0.9519 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5648/0.5666, allocations: 129.9 MB / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.5666, allocations: 2.938 kB / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.483e-05/0.5667, allocations: 7.172 kB / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.5669, allocations: 38.78 kB / 1.079 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009415/0.5678, allocations: 367.7 kB / 1.079 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.5679, allocations: 69.3 kB / 1.079 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.5679, allocations: 2.781 kB / 1.079 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.836e-05/0.568, allocations: 40.75 kB / 1.079 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/0.5681, allocations: 55.53 kB / 1.079 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.5681, allocations: 0 / 1.079 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.5686, allocations: 378 kB / 1.08 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.5687, allocations: 30.05 kB / 1.08 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.5687, allocations: 21.28 kB / 1.08 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.5691, allocations: 291.9 kB / 1.08 GB, free: 40.11 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5691, allocations: 0 / 1.08 GB, free: 40.11 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5691, allocations: 1.094 kB / 1.08 GB, free: 40.11 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.5691, allocations: 2.656 kB / 1.08 GB, free: 40.11 MB / 0.9948 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.0003202/0.5694, allocations: 324.8 kB / 1.08 GB, free: 39.81 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5694, allocations: 9.125 kB / 1.08 GB, free: 39.81 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.5695, allocations: 37.38 kB / 1.08 GB, free: 39.77 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.5695, allocations: 5.094 kB / 1.08 GB, free: 39.77 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.293e-05/0.5695, allocations: 117.6 kB / 1.08 GB, free: 39.63 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.5695, allocations: 6.812 kB / 1.08 GB, free: 39.63 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.5696, allocations: 10.23 kB / 1.08 GB, free: 39.63 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.5697, allocations: 93.88 kB / 1.08 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5697, allocations: 0 / 1.08 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5697, allocations: 3.062 kB / 1.081 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.5698, allocations: 11.64 kB / 1.081 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.804e-05/0.5698, allocations: 82.61 kB / 1.081 GB, free: 39.59 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.5702, allocations: 309.7 kB / 1.081 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.5703, allocations: 90.55 kB / 1.081 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.5703, allocations: 57 kB / 1.081 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004411/0.5708, allocations: 84.77 kB / 1.081 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.5708, allocations: 37.44 kB / 1.081 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.5708, allocations: 0 / 1.081 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.0001993/0.571, allocations: 125.6 kB / 1.081 GB, free: 39.24 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.571, allocations: 51.41 kB / 1.081 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.495e-05/0.5711, allocations: 122.4 kB / 1.081 GB, free: 39.07 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-06/0.5711, allocations: 25.7 kB / 1.081 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.5711, allocations: 104.6 kB / 1.082 GB, free: 38.95 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.5711, allocations: 33.86 kB / 1.082 GB, free: 38.92 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.5711, allocations: 34.47 kB / 1.082 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.131e-05/0.5712, allocations: 328.5 kB / 1.082 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.5712, allocations: 24.16 kB / 1.082 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/0.5713, allocations: 78.22 kB / 1.082 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.374e-05/0.5713, allocations: 120 kB / 1.082 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5713, allocations: 0 / 1.082 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001222/0.5715, allocations: 135.8 kB / 1.082 GB, free: 38.44 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5715, allocations: 7.844 kB / 1.082 GB, free: 38.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5715, allocations: 2.844 kB / 1.082 GB, free: 38.44 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5715, allocations: 2.531 kB / 1.082 GB, free: 38.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.767e-05/0.5716, allocations: 30.67 kB / 1.082 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.5716, allocations: 7.094 kB / 1.082 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.5716, allocations: 18.27 kB / 1.082 GB, free: 38.42 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.5716, allocations: 6.812 kB / 1.082 GB, free: 38.42 MB / 0.9948 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 5.13e-05/0.5717, allocations: 123.1 kB / 1.082 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.5717, allocations: 10.25 kB / 1.082 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.5718, allocations: 123.7 kB / 1.083 GB, free: 38.26 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5719, allocations: 3 kB / 1.083 GB, free: 38.26 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5719, allocations: 0 / 1.083 GB, free: 38.26 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5719, allocations: 4 kB / 1.083 GB, free: 38.26 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.775e-05/0.572, allocations: 157.8 kB / 1.083 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.572, allocations: 0 / 1.083 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.572, allocations: 18.88 kB / 1.083 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.572, allocations: 0 / 1.083 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.572, allocations: 1.062 kB / 1.083 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.572, allocations: 2.656 kB / 1.083 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.572, allocations: 1.094 kB / 1.083 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.628e-05/0.5721, allocations: 200.8 kB / 1.083 GB, free: 37.96 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.5721, allocations: 18.05 kB / 1.083 GB, free: 37.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.5721, allocations: 0 / 1.083 GB, free: 37.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.327e-05/0.5722, allocations: 7.188 kB / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.5722, allocations: 6.234 kB / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.5722, allocations: 6.156 kB / 1.083 GB, free: 37.95 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.917e-05/0.5722, allocations: 95.14 kB / 1.083 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5722, allocations: 0 / 1.083 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002337/0.5724, allocations: 83.28 kB / 1.083 GB, free: 37.86 MB / 0.9948 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.0003836/0.5728, allocations: 0.8244 MB / 1.084 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.5729, allocations: 81.16 kB / 1.084 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5729, allocations: 0 / 1.084 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.799e-05/0.573, allocations: 37.69 kB / 1.084 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.5732, allocations: 17.67 kB / 1.084 GB, free: 37.16 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.5736, allocations: 243.3 kB / 1.084 GB, free: 37 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.191e-05/0.5736, allocations: 76.28 kB / 1.084 GB, free: 36.92 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.148e-05/0.5737, allocations: 55.95 kB / 1.084 GB, free: 36.91 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.5737, allocations: 24.94 kB / 1.084 GB, free: 36.91 MB / 0.9948 GB Notification: Performance of SimCode: time 6.81e-07/0.5737, allocations: 0 / 1.084 GB, free: 36.91 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.5936, allocations: 3.906 MB / 1.088 GB, free: 35.9 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.844, allocations: 10.5 kB / 1.088 GB, free: 35.9 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.818229427561164]