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.001829/0.001829, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.002277/0.002277, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 9.094 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.377/3.377, allocations: 0.49 GB / 0.7915 GB, free: 33.31 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.002072/0.002072, allocations: 65.8 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 176.1 MB / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002515/0.3346, allocations: 1.351 MB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1835/0.518, allocations: 151.1 MB / 1.47 GB, free: 9.695 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.16e-05/0.5181, allocations: 4 kB / 1.47 GB, free: 9.691 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.5181, allocations: 0 / 1.47 GB, free: 9.691 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.5183, allocations: 47.86 kB / 1.47 GB, free: 9.645 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.5194, allocations: 362.5 kB / 1.471 GB, free: 9.289 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.5195, allocations: 67.75 kB / 1.471 GB, free: 9.223 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.5196, allocations: 8 kB / 1.471 GB, free: 9.215 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.635e-05/0.5196, allocations: 35.91 kB / 1.471 GB, free: 9.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.5197, allocations: 59.8 kB / 1.471 GB, free: 9.121 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.5197, allocations: 4 kB / 1.471 GB, free: 9.117 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007735/0.5205, allocations: 427.1 kB / 1.471 GB, free: 8.699 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.5206, allocations: 31.89 kB / 1.471 GB, free: 8.668 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.5206, allocations: 27.88 kB / 1.471 GB, free: 8.641 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.5211, allocations: 279.2 kB / 1.471 GB, free: 8.367 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5211, allocations: 0 / 1.471 GB, free: 8.367 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5211, allocations: 0 / 1.471 GB, free: 8.367 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.5211, allocations: 0 / 1.471 GB, free: 8.367 MB / 1.17 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.0005329/0.5216, allocations: 406.8 kB / 1.472 GB, free: 7.922 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.5217, allocations: 8.031 kB / 1.472 GB, free: 7.914 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.5217, allocations: 12.89 kB / 1.472 GB, free: 7.902 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.5219, allocations: 168.3 kB / 1.472 GB, free: 7.699 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.5219, allocations: 7.938 kB / 1.472 GB, free: 7.691 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.5219, allocations: 8 kB / 1.472 GB, free: 7.684 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.5221, allocations: 93.64 kB / 1.472 GB, free: 7.586 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.5221, allocations: 0 / 1.472 GB, free: 7.586 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.5221, allocations: 0 / 1.472 GB, free: 7.586 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.5222, allocations: 11.98 kB / 1.472 GB, free: 7.574 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.5223, allocations: 83.89 kB / 1.472 GB, free: 7.492 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.5228, allocations: 336.7 kB / 1.473 GB, free: 7.113 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.523, allocations: 102.5 kB / 1.473 GB, free: 7.004 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.5231, allocations: 40.91 kB / 1.473 GB, free: 6.961 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009418/0.524, allocations: 473.4 kB / 1.473 GB, free: 6.406 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.524, allocations: 46.59 kB / 1.473 GB, free: 6.352 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.524, allocations: 0 / 1.473 GB, free: 6.352 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.0002869/0.5243, allocations: 113.6 kB / 1.473 GB, free: 6.234 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.5244, allocations: 59.33 kB / 1.473 GB, free: 6.164 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.5245, allocations: 109.8 kB / 1.473 GB, free: 6.047 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.5245, allocations: 33.7 kB / 1.474 GB, free: 6.008 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.5245, allocations: 96.31 kB / 1.474 GB, free: 5.91 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.5246, allocations: 39.69 kB / 1.474 GB, free: 5.871 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.5246, allocations: 29.7 kB / 1.474 GB, free: 5.836 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5248, allocations: 322.8 kB / 1.474 GB, free: 5.512 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.5249, allocations: 31.92 kB / 1.474 GB, free: 5.48 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.5249, allocations: 73.06 kB / 1.474 GB, free: 5.391 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.5251, allocations: 121.4 kB / 1.474 GB, free: 5.254 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5251, allocations: 3.938 kB / 1.474 GB, free: 5.25 MB / 1.17 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002256/0.5254, allocations: 137.5 kB / 1.474 GB, free: 5.109 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5254, allocations: 5.875 kB / 1.474 GB, free: 5.105 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5254, allocations: 4 kB / 1.474 GB, free: 5.102 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5254, allocations: 8.141 kB / 1.474 GB, free: 5.094 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.5255, allocations: 39.8 kB / 1.474 GB, free: 5.055 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.5255, allocations: 0 / 1.474 GB, free: 5.055 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.5256, allocations: 15.89 kB / 1.474 GB, free: 5.039 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5256, allocations: 4 kB / 1.474 GB, free: 5.035 MB / 1.17 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 9.662e-05/0.5257, allocations: 121.8 kB / 1.475 GB, free: 4.906 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.5257, allocations: 7.953 kB / 1.475 GB, free: 4.898 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.526, allocations: 130 kB / 1.475 GB, free: 4.766 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.526, allocations: 11.92 kB / 1.475 GB, free: 4.754 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.526, allocations: 0 / 1.475 GB, free: 4.754 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.526, allocations: 0 / 1.475 GB, free: 4.754 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.5262, allocations: 177.9 kB / 1.475 GB, free: 4.531 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5262, allocations: 4 kB / 1.475 GB, free: 4.527 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.5263, allocations: 16 kB / 1.475 GB, free: 4.512 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5263, allocations: 0 / 1.475 GB, free: 4.512 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.5263, allocations: 4 kB / 1.475 GB, free: 4.508 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5263, allocations: 3.938 kB / 1.475 GB, free: 4.504 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5263, allocations: 7.984 kB / 1.475 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.5265, allocations: 199.4 kB / 1.475 GB, free: 4.285 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.5266, allocations: 93.05 kB / 1.475 GB, free: 4.176 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.5266, allocations: 0 / 1.475 GB, free: 4.176 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.5267, allocations: 11.94 kB / 1.475 GB, free: 4.164 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.5267, allocations: 3.984 kB / 1.475 GB, free: 4.16 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.5267, allocations: 4 kB / 1.475 GB, free: 4.156 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.5267, allocations: 91.28 kB / 1.475 GB, free: 4.066 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5267, allocations: 0 / 1.475 GB, free: 4.066 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003853/0.5271, allocations: 83.67 kB / 1.475 GB, free: 3.984 MB / 1.17 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.0003808/0.5275, allocations: 186.9 kB / 1.476 GB, free: 3.793 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.5277, allocations: 87.95 kB / 1.476 GB, free: 3.707 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5277, allocations: 0 / 1.476 GB, free: 3.707 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.5278, allocations: 31.98 kB / 1.476 GB, free: 3.676 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.528, allocations: 23.55 kB / 1.476 GB, free: 3.656 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.5284, allocations: 182.5 kB / 1.476 GB, free: 3.449 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.5288, allocations: 0.6924 MB / 1.476 GB, free: 2.73 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.5289, allocations: 53.28 kB / 1.477 GB, free: 2.68 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.5289, allocations: 11.44 kB / 1.477 GB, free: 2.668 MB / 1.17 GB Notification: Performance of SimCode: time 3.01e-07/0.5289, allocations: 0 / 1.477 GB, free: 2.668 MB / 1.17 GB Notification: Performance of Templates: time 0.005597/0.5345, allocations: 1.974 MB / 1.478 GB, free: 0.7461 MB / 1.17 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/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: 9.178096299991012]