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.001648/0.001648, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002252/0.002252, allocations: 208.8 kB / 23.03 MB, free: 4.863 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.278/3.278, allocations: 0.49 GB / 0.7959 GB, free: 35.63 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: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [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.002037/0.002037, allocations: 64.14 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4097, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002869/0.4126, allocations: 1.354 MB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1893/0.6018, allocations: 129.8 MB / 1.455 GB, free: 13.26 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.6019, allocations: 0 / 1.455 GB, free: 13.26 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.6019, allocations: 0 / 1.455 GB, free: 13.26 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.6021, allocations: 47.84 kB / 1.455 GB, free: 13.21 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.6035, allocations: 358.5 kB / 1.456 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.6037, allocations: 59.83 kB / 1.456 GB, free: 12.8 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.6037, allocations: 11.98 kB / 1.456 GB, free: 12.79 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.6038, allocations: 27.91 kB / 1.456 GB, free: 12.76 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.6039, allocations: 55.88 kB / 1.456 GB, free: 12.71 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.6039, allocations: 4 kB / 1.456 GB, free: 12.7 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/0.6047, allocations: 367.1 kB / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.6047, allocations: 27.95 kB / 1.456 GB, free: 12.32 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.6048, allocations: 27.86 kB / 1.456 GB, free: 12.29 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.6053, allocations: 271.2 kB / 1.457 GB, free: 12.02 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6053, allocations: 0 / 1.457 GB, free: 12.02 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6053, allocations: 4 kB / 1.457 GB, free: 12.02 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6053, allocations: 0 / 1.457 GB, free: 12.02 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.0005037/0.6058, allocations: 317.7 kB / 1.457 GB, free: 11.68 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.6058, allocations: 8.031 kB / 1.457 GB, free: 11.67 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.6059, allocations: 12.88 kB / 1.457 GB, free: 11.66 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.606, allocations: 106.5 kB / 1.457 GB, free: 11.53 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.606, allocations: 11.94 kB / 1.457 GB, free: 11.52 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.606, allocations: 4 kB / 1.457 GB, free: 11.52 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.6063, allocations: 97.58 kB / 1.457 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.6063, allocations: 0 / 1.457 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.6063, allocations: 0 / 1.457 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.6063, allocations: 16 kB / 1.457 GB, free: 11.4 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.6065, allocations: 75.94 kB / 1.457 GB, free: 11.32 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.607, allocations: 284.3 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.6072, allocations: 102.5 kB / 1.458 GB, free: 10.91 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.585e-05/0.6073, allocations: 48.89 kB / 1.458 GB, free: 10.86 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007215/0.608, allocations: 87.89 kB / 1.458 GB, free: 10.77 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.608, allocations: 38.56 kB / 1.458 GB, free: 10.72 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.608, allocations: 0 / 1.458 GB, free: 10.72 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0002912/0.6083, allocations: 121.5 kB / 1.458 GB, free: 10.6 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.6084, allocations: 55.44 kB / 1.458 GB, free: 10.53 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.6085, allocations: 117.8 kB / 1.458 GB, free: 10.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.6085, allocations: 29.7 kB / 1.458 GB, free: 10.37 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.6086, allocations: 100.2 kB / 1.458 GB, free: 10.27 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.6086, allocations: 47.69 kB / 1.458 GB, free: 10.22 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.6087, allocations: 33.7 kB / 1.458 GB, free: 10.18 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6089, allocations: 310.8 kB / 1.458 GB, free: 9.871 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.044e-05/0.6089, allocations: 39.91 kB / 1.458 GB, free: 9.832 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.609, allocations: 69.14 kB / 1.459 GB, free: 9.746 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.6092, allocations: 109.1 kB / 1.459 GB, free: 9.621 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6092, allocations: 4 kB / 1.459 GB, free: 9.617 MB / 1.154 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002238/0.6094, allocations: 141.4 kB / 1.459 GB, free: 9.473 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6094, allocations: 4 kB / 1.459 GB, free: 9.469 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6094, allocations: 0 / 1.459 GB, free: 9.469 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6094, allocations: 4 kB / 1.459 GB, free: 9.465 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.6096, allocations: 27.92 kB / 1.459 GB, free: 9.438 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.6096, allocations: 7.938 kB / 1.459 GB, free: 9.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.6096, allocations: 11.95 kB / 1.459 GB, free: 9.418 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.6096, allocations: 7.984 kB / 1.459 GB, free: 9.41 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.0001229/0.6097, allocations: 130.4 kB / 1.459 GB, free: 9.273 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.6098, allocations: 7.953 kB / 1.459 GB, free: 9.266 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.61, allocations: 126.4 kB / 1.459 GB, free: 9.137 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.61, allocations: 4 kB / 1.459 GB, free: 9.133 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.61, allocations: 4.188 kB / 1.459 GB, free: 9.129 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.61, allocations: 0 / 1.459 GB, free: 9.129 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.6102, allocations: 129.3 kB / 1.459 GB, free: 8.973 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6102, allocations: 0 / 1.459 GB, free: 8.973 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.6103, allocations: 31.91 kB / 1.459 GB, free: 8.941 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6103, allocations: 0 / 1.459 GB, free: 8.941 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.6103, allocations: 0 / 1.459 GB, free: 8.941 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6103, allocations: 0 / 1.459 GB, free: 8.941 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6103, allocations: 0 / 1.459 GB, free: 8.941 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.6105, allocations: 199.4 kB / 1.459 GB, free: 8.73 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.6106, allocations: 23.88 kB / 1.459 GB, free: 8.707 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.6106, allocations: 0 / 1.459 GB, free: 8.707 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.6107, allocations: 8 kB / 1.459 GB, free: 8.699 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.6107, allocations: 7.922 kB / 1.46 GB, free: 8.691 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.6107, allocations: 7.938 kB / 1.46 GB, free: 8.684 MB / 1.154 GB Notification: Performance of sorting global known variables: time 7.411e-05/0.6108, allocations: 95.27 kB / 1.46 GB, free: 8.59 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.6108, allocations: 0 / 1.46 GB, free: 8.59 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003716/0.6112, allocations: 75.73 kB / 1.46 GB, free: 8.516 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.0003725/0.6115, allocations: 182.9 kB / 1.46 GB, free: 8.328 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.6117, allocations: 92.23 kB / 1.46 GB, free: 8.238 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6117, allocations: 0 / 1.46 GB, free: 8.238 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.796e-05/0.6118, allocations: 39.86 kB / 1.46 GB, free: 8.199 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.6121, allocations: 15.92 kB / 1.46 GB, free: 8.184 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.6125, allocations: 196.6 kB / 1.46 GB, free: 7.961 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.972e-05/0.6126, allocations: 75.25 kB / 1.46 GB, free: 7.867 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.6126, allocations: 19.42 kB / 1.46 GB, free: 7.848 MB / 1.154 GB Notification: Performance of SimCode: time 4.3e-07/0.6126, allocations: 128 / 1.46 GB, free: 7.848 MB / 1.154 GB Notification: Performance of Templates: time 0.004388/0.617, allocations: 1.919 MB / 1.462 GB, free: 5.938 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 400] 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: 12.399918386945501]