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.001348/0.001348, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001894/0.001894, allocations: 190.7 kB / 22.23 MB, free: 5.105 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.482/1.482, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002142/0.002142, allocations: 67.89 kB / 1.062 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7486, allocations: 160.8 MB / 1.219 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002855/0.7514, allocations: 1.352 MB / 1.22 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1849/0.9363, allocations: 148.3 MB / 1.365 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.9363, allocations: 0 / 1.365 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.902e-05/0.9364, allocations: 3.984 kB / 1.365 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.9366, allocations: 51.88 kB / 1.365 GB, free: 0.918 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.938, allocations: 366.5 kB / 1.365 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.9381, allocations: 59.83 kB / 1.365 GB, free: 0.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.9382, allocations: 4 kB / 1.365 GB, free: 0.4961 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-05/0.9382, allocations: 47.83 kB / 1.365 GB, free: 460 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.9384, allocations: 47.94 kB / 1.365 GB, free: 412 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.9384, allocations: 4 kB / 1.365 GB, free: 408 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009677/0.9394, allocations: 435 kB / 1.366 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.9394, allocations: 27.91 kB / 1.366 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.9395, allocations: 23.88 kB / 1.366 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006172/0.9401, allocations: 273.6 kB / 1.366 GB, free: 15.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9401, allocations: 0 / 1.366 GB, free: 15.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9401, allocations: 0 / 1.366 GB, free: 15.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.9401, allocations: 0 / 1.366 GB, free: 15.66 MB / 1.076 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.0005336/0.9406, allocations: 406.8 kB / 1.366 GB, free: 15.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9407, allocations: 11.97 kB / 1.366 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.9407, allocations: 4.938 kB / 1.366 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.9409, allocations: 164.3 kB / 1.367 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.9409, allocations: 7.938 kB / 1.367 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.9409, allocations: 0 / 1.367 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.9411, allocations: 97.64 kB / 1.367 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9411, allocations: 0 / 1.367 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.9411, allocations: 0 / 1.367 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/0.9412, allocations: 19.98 kB / 1.367 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.9413, allocations: 83.77 kB / 1.367 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.9419, allocations: 344.7 kB / 1.367 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.942, allocations: 98.52 kB / 1.367 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.9422, allocations: 44.91 kB / 1.367 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009661/0.9431, allocations: 473.5 kB / 1.368 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.9432, allocations: 34.5 kB / 1.368 GB, free: 13.65 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.9432, allocations: 0 / 1.368 GB, free: 13.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0003004/0.9435, allocations: 121.6 kB / 1.368 GB, free: 13.53 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.9435, allocations: 59.34 kB / 1.368 GB, free: 13.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.9436, allocations: 117.8 kB / 1.368 GB, free: 13.33 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.9436, allocations: 25.7 kB / 1.368 GB, free: 13.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.9437, allocations: 96.36 kB / 1.368 GB, free: 13.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.9437, allocations: 39.69 kB / 1.368 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.9438, allocations: 33.7 kB / 1.368 GB, free: 13.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.944, allocations: 314.8 kB / 1.368 GB, free: 12.81 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.944, allocations: 31.97 kB / 1.368 GB, free: 12.78 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.9441, allocations: 82 kB / 1.369 GB, free: 12.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.9443, allocations: 113.4 kB / 1.369 GB, free: 12.55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9443, allocations: 4.25 kB / 1.369 GB, free: 12.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002362/0.9445, allocations: 141.4 kB / 1.369 GB, free: 12.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.9445, allocations: 4 kB / 1.369 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.9445, allocations: 8 kB / 1.369 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9446, allocations: 0 / 1.369 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.9447, allocations: 35.86 kB / 1.369 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.9447, allocations: 3.984 kB / 1.369 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.9448, allocations: 7.953 kB / 1.369 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.9448, allocations: 16.16 kB / 1.369 GB, free: 12.33 MB / 1.076 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.0001033/0.9449, allocations: 121.8 kB / 1.369 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.9449, allocations: 3.953 kB / 1.369 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.9452, allocations: 129.9 kB / 1.369 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.9452, allocations: 7.938 kB / 1.369 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9452, allocations: 0 / 1.369 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9452, allocations: 0 / 1.369 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.9454, allocations: 185.6 kB / 1.369 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9454, allocations: 0 / 1.369 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.9455, allocations: 15.98 kB / 1.369 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.9455, allocations: 4 kB / 1.369 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.9455, allocations: 4 kB / 1.369 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.9455, allocations: 7.875 kB / 1.369 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9455, allocations: 0 / 1.369 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.9457, allocations: 195.4 kB / 1.37 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.9458, allocations: 105 kB / 1.37 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.9458, allocations: 4 kB / 1.37 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.9458, allocations: 7.875 kB / 1.37 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.9459, allocations: 7.984 kB / 1.37 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.9459, allocations: 4 kB / 1.37 GB, free: 11.44 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.441e-05/0.9459, allocations: 87.27 kB / 1.37 GB, free: 11.35 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9459, allocations: 0 / 1.37 GB, free: 11.35 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003896/0.9463, allocations: 79.73 kB / 1.37 GB, free: 11.27 MB / 1.076 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.000382/0.9467, allocations: 190.9 kB / 1.37 GB, free: 11.08 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.9469, allocations: 79.83 kB / 1.37 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9469, allocations: 0 / 1.37 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.947, allocations: 35.92 kB / 1.37 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.9473, allocations: 24.5 kB / 1.37 GB, free: 10.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.9477, allocations: 182.8 kB / 1.37 GB, free: 10.74 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.9481, allocations: 0.6885 MB / 1.371 GB, free: 10.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.9482, allocations: 57.02 kB / 1.371 GB, free: 9.969 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.9483, allocations: 15.44 kB / 1.371 GB, free: 9.953 MB / 1.076 GB Notification: Performance of SimCode: time 5.41e-07/0.9483, allocations: 0 / 1.371 GB, free: 9.953 MB / 1.076 GB Notification: Performance of Templates: time 0.006064/0.9543, allocations: 1.985 MB / 1.373 GB, free: 8.02 MB / 1.076 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.635385982692242]