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.00114/0.00114, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.002746, allocations: 449.7 kB / 10.37 MB, free: 328 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.001089/0.001089, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001323/0.002413, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8981/0.8981, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07749/0.9756, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.744/1.744, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4409/2.185, allocations: 123.3 MB / 0.728 GB, free: 5.84 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.864e-06/1.864e-06, allocations: 0 / 0.7294 GB, free: 4.516 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.467e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.512 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003007/0.003032, allocations: 1.436 MB / 0.7308 GB, free: 3.094 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1359/0.1389, allocations: 143.5 MB / 0.8709 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.1389, allocations: 0 / 0.8709 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.139, allocations: 7.922 kB / 0.8709 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1391, allocations: 43.88 kB / 0.8709 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009726/0.1401, allocations: 362.1 kB / 0.8713 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.1402, allocations: 63.83 kB / 0.8713 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.1402, allocations: 7.984 kB / 0.8713 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.1403, allocations: 47.89 kB / 0.8714 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1404, allocations: 51.88 kB / 0.8714 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1404, allocations: 4 kB / 0.8714 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006529/0.1411, allocations: 375 kB / 0.8718 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.1411, allocations: 27.92 kB / 0.8718 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.1412, allocations: 12 kB / 0.8718 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.1416, allocations: 259.3 kB / 0.8721 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.786e-05/0.1416, allocations: 0 / 0.8721 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1416, allocations: 0 / 0.8721 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.1416, allocations: 0 / 0.8721 GB, free: 2.043 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.0003869/0.142, allocations: 339.9 kB / 0.8724 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.142, allocations: 12.03 kB / 0.8724 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.1421, allocations: 4.938 kB / 0.8724 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.352e-05/0.1422, allocations: 117.7 kB / 0.8725 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1422, allocations: 4.375 kB / 0.8725 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1422, allocations: 8.359 kB / 0.8726 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1423, allocations: 72.39 kB / 0.8726 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1423, allocations: 0 / 0.8726 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.1423, allocations: 0 / 0.8726 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.1423, allocations: 8 kB / 0.8726 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.1424, allocations: 19.98 kB / 0.8726 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.1426, allocations: 217.7 kB / 0.8729 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.918e-05/0.1427, allocations: 62.47 kB / 0.8729 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.1428, allocations: 24.86 kB / 0.8729 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003445/0.1431, allocations: 79.84 kB / 0.873 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1431, allocations: 34.55 kB / 0.873 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1431, allocations: 0 / 0.873 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0001434/0.1433, allocations: 73.61 kB / 0.8731 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.1433, allocations: 59.41 kB / 0.8732 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.1434, allocations: 114.6 kB / 0.8733 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1434, allocations: 29.7 kB / 0.8733 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.1434, allocations: 96.34 kB / 0.8734 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.1435, allocations: 35.69 kB / 0.8734 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1435, allocations: 29.7 kB / 0.8735 GB, free: 500 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.1436, allocations: 318.8 kB / 0.8738 GB, free: 172 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.1436, allocations: 15.98 kB / 0.8738 GB, free: 156 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.421e-05/0.1436, allocations: 59.31 kB / 0.8738 GB, free: 80 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.114e-05/0.1437, allocations: 87.75 kB / 0.8739 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1437, allocations: 0 / 0.8739 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001158/0.1438, allocations: 85.55 kB / 0.874 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1439, allocations: 7.984 kB / 0.874 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1439, allocations: 4 kB / 0.874 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.1439, allocations: 160 / 0.874 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.139e-05/0.144, allocations: 31.98 kB / 0.874 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.144, allocations: 7.938 kB / 0.8741 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.144, allocations: 11.95 kB / 0.8741 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.144, allocations: 4 kB / 0.8741 GB, free: 15.82 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 7.064e-05/0.1441, allocations: 124.5 kB / 0.8742 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.1441, allocations: 7.984 kB / 0.8742 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.1442, allocations: 94.41 kB / 0.8743 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1442, allocations: 4 kB / 0.8743 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1442, allocations: 0 / 0.8743 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1443, allocations: 0 / 0.8743 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.1444, allocations: 73.89 kB / 0.8744 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1444, allocations: 3.938 kB / 0.8744 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.1444, allocations: 19.98 kB / 0.8744 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.1444, allocations: 19.88 kB / 0.8744 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1444, allocations: 4 kB / 0.8744 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.1445, allocations: 0 / 0.8744 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1445, allocations: 0 / 0.8744 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1445, allocations: 0 / 0.8744 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.1446, allocations: 167.7 kB / 0.8746 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.1446, allocations: 3.938 kB / 0.8746 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.1446, allocations: 4 kB / 0.8746 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.1446, allocations: 11.98 kB / 0.8746 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1446, allocations: 0 / 0.8746 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.665e-05/0.1446, allocations: 20.83 kB / 0.8746 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1446, allocations: 0 / 0.8746 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003013/0.145, allocations: 91.67 kB / 0.8747 GB, free: 15.12 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.0002974/0.1452, allocations: 182.1 kB / 0.8749 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.1453, allocations: 64.69 kB / 0.8749 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.1454, allocations: 0 / 0.8749 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.1454, allocations: 29.22 kB / 0.875 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.1456, allocations: 24.47 kB / 0.875 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.1473, allocations: 186.6 kB / 0.8752 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.17e-05/0.1473, allocations: 63.34 kB / 0.8752 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.055e-05/0.1474, allocations: 20.41 kB / 0.8752 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.1475, allocations: 63.38 kB / 0.8753 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.1475, allocations: 0 / 0.8753 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of Templates: time 0.004382/0.1518, allocations: 2.567 MB / 0.8778 GB, free: 11.93 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.776771406643093]