Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 443.5 MB / 0.7293 GB, free: 14.64 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 63.91 kB / 1.057 GB, free: 2.043 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3674, allocations: 160.7 MB / 1.214 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003256/0.3707, allocations: 1.341 MB / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9443/1.315, allocations: 148.3 MB / 1.36 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/1.315, allocations: 1.188 kB / 1.36 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.935e-05/1.315, allocations: 5.25 kB / 1.36 GB, free: 8.133 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002029/1.315, allocations: 45.59 kB / 1.36 GB, free: 8.121 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/1.317, allocations: 364.6 kB / 1.361 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000154/1.317, allocations: 62.47 kB / 1.361 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/1.317, allocations: 3.031 kB / 1.361 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/1.317, allocations: 36.45 kB / 1.361 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/1.317, allocations: 60.64 kB / 1.361 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/1.317, allocations: 2.938 kB / 1.361 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000897/1.318, allocations: 421.3 kB / 1.361 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/1.318, allocations: 28.5 kB / 1.361 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.347e-05/1.318, allocations: 30.28 kB / 1.361 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005541/1.319, allocations: 280.9 kB / 1.362 GB, free: 7.664 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.319, allocations: 1.531 kB / 1.362 GB, free: 7.664 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.423e-06/1.319, allocations: 0 / 1.362 GB, free: 7.664 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.319, allocations: 2.109 kB / 1.362 GB, free: 7.664 MB / 1.045 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.000563/1.319, allocations: 400.2 kB / 1.362 GB, free: 7.266 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.319, allocations: 17.14 kB / 1.362 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/1.319, allocations: 4.312 kB / 1.362 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.319, allocations: 166.3 kB / 1.362 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/1.319, allocations: 5.094 kB / 1.362 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/1.32, allocations: 7.266 kB / 1.362 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/1.32, allocations: 95.86 kB / 1.362 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.32, allocations: 0 / 1.362 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/1.32, allocations: 2.047 kB / 1.362 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/1.32, allocations: 11.75 kB / 1.362 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/1.32, allocations: 79.77 kB / 1.362 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/1.32, allocations: 339.4 kB / 1.363 GB, free: 6.684 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/1.321, allocations: 109.6 kB / 1.363 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.785e-05/1.321, allocations: 45.41 kB / 1.363 GB, free: 6.617 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009206/1.322, allocations: 467.2 kB / 1.363 GB, free: 6.145 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.322, allocations: 31.78 kB / 1.363 GB, free: 6.105 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/1.322, allocations: 4 kB / 1.363 GB, free: 6.102 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.000298/1.322, allocations: 124.8 kB / 1.363 GB, free: 6.043 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/1.322, allocations: 56.34 kB / 1.363 GB, free: 5.977 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/1.322, allocations: 113.1 kB / 1.363 GB, free: 5.875 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/1.322, allocations: 29.7 kB / 1.364 GB, free: 5.84 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/1.322, allocations: 103.3 kB / 1.364 GB, free: 5.738 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/1.322, allocations: 39.62 kB / 1.364 GB, free: 5.707 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/1.322, allocations: 32.95 kB / 1.364 GB, free: 5.684 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.322, allocations: 324 kB / 1.364 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/1.323, allocations: 26.39 kB / 1.364 GB, free: 5.359 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/1.323, allocations: 70.28 kB / 1.364 GB, free: 5.305 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/1.323, allocations: 115.3 kB / 1.364 GB, free: 5.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.323, allocations: 6.281 kB / 1.364 GB, free: 5.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002169/1.323, allocations: 139.2 kB / 1.364 GB, free: 5.164 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/1.323, allocations: 5.453 kB / 1.364 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.323, allocations: 2.406 kB / 1.364 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.323, allocations: 2.188 kB / 1.364 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/1.323, allocations: 33.92 kB / 1.364 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.323, allocations: 6.688 kB / 1.364 GB, free: 5.152 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/1.323, allocations: 15.02 kB / 1.364 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/1.323, allocations: 7.109 kB / 1.364 GB, free: 5.141 MB / 1.045 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.0001053/1.323, allocations: 122.9 kB / 1.365 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/1.323, allocations: 7.766 kB / 1.365 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/1.324, allocations: 131.1 kB / 1.365 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.324, allocations: 1.344 kB / 1.365 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.324, allocations: 4.625 kB / 1.365 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.324, allocations: 2.188 kB / 1.365 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/1.324, allocations: 179 kB / 1.365 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.324, allocations: 0 / 1.365 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/1.324, allocations: 22.19 kB / 1.365 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/1.324, allocations: 1.281 kB / 1.365 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/1.324, allocations: 0.5625 kB / 1.365 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/1.324, allocations: 2.469 kB / 1.365 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.324, allocations: 5.062 kB / 1.365 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/1.324, allocations: 201 kB / 1.365 GB, free: 4.574 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.027e-05/1.324, allocations: 97.72 kB / 1.365 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/1.324, allocations: 2.891 kB / 1.365 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.566e-05/1.324, allocations: 9.219 kB / 1.365 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/1.324, allocations: 8.391 kB / 1.365 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/1.324, allocations: 3.625 kB / 1.365 GB, free: 4.457 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.407e-05/1.324, allocations: 93.27 kB / 1.365 GB, free: 4.379 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/1.324, allocations: 4 kB / 1.365 GB, free: 4.375 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000404/1.325, allocations: 76.06 kB / 1.365 GB, free: 4.355 MB / 1.045 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.0003886/1.325, allocations: 185.8 kB / 1.366 GB, free: 4.242 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000188/1.325, allocations: 87.23 kB / 1.366 GB, free: 4.219 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.325, allocations: 4.062 kB / 1.366 GB, free: 4.215 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/1.325, allocations: 36.02 kB / 1.366 GB, free: 4.207 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/1.326, allocations: 14.25 kB / 1.366 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/1.326, allocations: 203.6 kB / 1.366 GB, free: 4.043 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/1.327, allocations: 0.6894 MB / 1.367 GB, free: 3.348 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/1.327, allocations: 14.7 kB / 1.367 GB, free: 3.34 MB / 1.045 GB Notification: Performance of SimCode: time 3.71e-07/1.327, allocations: 5.281 kB / 1.367 GB, free: 3.336 MB / 1.045 GB Notification: Performance of Templates: time 0.004178/1.331, allocations: 1.854 MB / 1.368 GB, free: 3.141 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.237224001903087]