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.001089/0.001089, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002643, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001103/0.001103, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.002525, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8957/0.8957, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07794/0.9737, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.791/1.791, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4254/2.216, allocations: 123.3 MB / 0.7283 GB, free: 5.762 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.132e-05, allocations: 8.5 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001668/0.00168, allocations: 1.434 MB / 0.7311 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1195/0.1212, allocations: 143.5 MB / 0.8712 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.1213, allocations: 0 / 0.8712 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.1213, allocations: 7.922 kB / 0.8712 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.1214, allocations: 39.88 kB / 0.8713 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.1222, allocations: 354.2 kB / 0.8716 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1223, allocations: 75.73 kB / 0.8717 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.041e-05/0.1223, allocations: 0 / 0.8717 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.1224, allocations: 39.95 kB / 0.8717 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.1225, allocations: 51.88 kB / 0.8718 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1225, allocations: 0 / 0.8718 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.123, allocations: 382.9 kB / 0.8721 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.1231, allocations: 19.98 kB / 0.8722 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.1231, allocations: 19.94 kB / 0.8722 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.1236, allocations: 258.4 kB / 0.8724 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.1236, allocations: 4 kB / 0.8724 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1236, allocations: 0 / 0.8724 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.1236, allocations: 0 / 0.8724 GB, free: 1.918 MB / 0.8386 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.0003217/0.1239, allocations: 336 kB / 0.8727 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.1239, allocations: 8.031 kB / 0.8728 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.124, allocations: 8.922 kB / 0.8728 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.018e-05/0.124, allocations: 117.7 kB / 0.8729 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.124, allocations: 384 / 0.8729 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.124, allocations: 8.375 kB / 0.8729 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.543e-05/0.1241, allocations: 60.42 kB / 0.8729 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.1241, allocations: 4 kB / 0.8729 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.1241, allocations: 7.938 kB / 0.873 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.1242, allocations: 11.98 kB / 0.873 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.1242, allocations: 19.23 kB / 0.873 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.1244, allocations: 213.7 kB / 0.8732 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.695e-05/0.1245, allocations: 58.47 kB / 0.8732 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.1245, allocations: 32.83 kB / 0.8733 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.1248, allocations: 79.92 kB / 0.8733 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.1248, allocations: 34.56 kB / 0.8734 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.1248, allocations: 0 / 0.8734 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0001129/0.1249, allocations: 81.53 kB / 0.8735 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.125, allocations: 51.41 kB / 0.8735 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.99e-05/0.125, allocations: 110.7 kB / 0.8736 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.125, allocations: 25.7 kB / 0.8736 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.1251, allocations: 108.3 kB / 0.8737 GB, free: 448 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.1251, allocations: 35.69 kB / 0.8738 GB, free: 412 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1251, allocations: 29.7 kB / 0.8738 GB, free: 376 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.1252, allocations: 326.8 kB / 0.8741 GB, free: 40 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.1252, allocations: 8 kB / 0.8741 GB, free: 32 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.1252, allocations: 53.08 kB / 0.8742 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.713e-05/0.1253, allocations: 83.81 kB / 0.8743 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1253, allocations: 0 / 0.8743 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.044e-05/0.1254, allocations: 97.91 kB / 0.8743 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1254, allocations: 8 kB / 0.8744 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1254, allocations: 0 / 0.8744 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.1254, allocations: 4 kB / 0.8744 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.1255, allocations: 27.98 kB / 0.8744 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.1255, allocations: 0 / 0.8744 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.1255, allocations: 11.89 kB / 0.8744 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.1255, allocations: 8 kB / 0.8744 GB, free: 15.7 MB / 0.8542 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 4.927e-05/0.1256, allocations: 128.5 kB / 0.8745 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.1256, allocations: 8.156 kB / 0.8745 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.422e-05/0.1257, allocations: 86.03 kB / 0.8746 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1257, allocations: 0 / 0.8746 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.1257, allocations: 0 / 0.8746 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1257, allocations: 0 / 0.8746 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.398e-05/0.1258, allocations: 81.88 kB / 0.8747 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1258, allocations: 7.938 kB / 0.8747 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.1258, allocations: 19.98 kB / 0.8747 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.1258, allocations: 15.89 kB / 0.8747 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.1258, allocations: 4 kB / 0.8747 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-06/0.1258, allocations: 0 / 0.8747 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1258, allocations: 4.234 kB / 0.8747 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1258, allocations: 0 / 0.8747 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.387e-05/0.1259, allocations: 167.4 kB / 0.8749 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1259, allocations: 12 kB / 0.8749 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.72e-05/0.1259, allocations: 0 / 0.8749 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.1259, allocations: 3.984 kB / 0.8749 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.1259, allocations: 8 kB / 0.8749 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.051e-05/0.126, allocations: 8.859 kB / 0.8749 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.126, allocations: 0 / 0.8749 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002183/0.1262, allocations: 91.67 kB / 0.875 GB, free: 15.01 MB / 0.8542 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.0002423/0.1264, allocations: 192 kB / 0.8752 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.417e-05/0.1265, allocations: 60.7 kB / 0.8753 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.1265, allocations: 8.453 kB / 0.8753 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.451e-05/0.1265, allocations: 32.84 kB / 0.8753 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1267, allocations: 28.94 kB / 0.8753 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1279, allocations: 180.9 kB / 0.8755 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.209e-05/0.1279, allocations: 63.34 kB / 0.8756 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.128, allocations: 17.03 kB / 0.8756 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.128, allocations: 67.36 kB / 0.8756 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.128, allocations: 0 / 0.8756 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.003554/0.1316, allocations: 2.49 MB / 0.8781 GB, free: 11.88 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.848283871077001]