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.002108/0.002108, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002585/0.002585, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.649/1.649, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.981/2.981, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.835e-06/2.835e-06, allocations: 0 / 0.8109 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.537e-05/5.821e-05, allocations: 4.281 kB / 0.8109 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.005286/0.005344, allocations: 1.344 MB / 0.8122 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.2284/0.2337, allocations: 129.9 MB / 0.939 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/0.2338, allocations: 0 / 0.939 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.605e-05/0.2338, allocations: 3.938 kB / 0.939 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.2341, allocations: 51.8 kB / 0.939 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.236, allocations: 362.3 kB / 0.9394 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.2362, allocations: 75.75 kB / 0.9395 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.2362, allocations: 0 / 0.9395 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2363, allocations: 39.95 kB / 0.9395 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.2365, allocations: 51.88 kB / 0.9396 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.2365, allocations: 4 kB / 0.9396 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.2377, allocations: 367 kB / 0.9399 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.2378, allocations: 31.91 kB / 0.9399 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.172e-05/0.2379, allocations: 24 kB / 0.94 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.2389, allocations: 295.1 kB / 0.9402 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.472e-05/0.2389, allocations: 7.984 kB / 0.9402 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2389, allocations: 0 / 0.9402 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2389, allocations: 0 / 0.9402 GB, free: 11.95 MB / 0.8542 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.0007564/0.2396, allocations: 325.7 kB / 0.9406 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.2397, allocations: 8.031 kB / 0.9406 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.136e-05/0.2398, allocations: 8.891 kB / 0.9406 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.2399, allocations: 109.7 kB / 0.9407 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2399, allocations: 4.312 kB / 0.9407 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.24, allocations: 8.375 kB / 0.9407 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.2402, allocations: 98.42 kB / 0.9408 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2402, allocations: 0 / 0.9408 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.2403, allocations: 4 kB / 0.9408 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/0.2403, allocations: 11.98 kB / 0.9408 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.2405, allocations: 87.83 kB / 0.9409 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.2412, allocations: 276.4 kB / 0.9411 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.2414, allocations: 98.47 kB / 0.9412 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.787e-05/0.2415, allocations: 44.91 kB / 0.9413 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008622/0.2424, allocations: 99.91 kB / 0.9414 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.2424, allocations: 30.56 kB / 0.9414 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.2424, allocations: 0 / 0.9414 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0003726/0.2428, allocations: 125.6 kB / 0.9415 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.2429, allocations: 55.41 kB / 0.9416 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.243, allocations: 121.9 kB / 0.9417 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.243, allocations: 25.7 kB / 0.9417 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.2431, allocations: 96.27 kB / 0.9418 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.2432, allocations: 47.59 kB / 0.9419 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.2433, allocations: 33.7 kB / 0.9419 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.2435, allocations: 314.8 kB / 0.9422 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.2436, allocations: 35.97 kB / 0.9422 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.2437, allocations: 76.28 kB / 0.9423 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.2439, allocations: 109.1 kB / 0.9424 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2439, allocations: 4 kB / 0.9424 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002863/0.2442, allocations: 153.4 kB / 0.9426 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2442, allocations: 4 kB / 0.9426 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2442, allocations: 0 / 0.9426 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.2442, allocations: 4 kB / 0.9426 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.2444, allocations: 27.92 kB / 0.9426 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.2444, allocations: 7.984 kB / 0.9426 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.2444, allocations: 7.938 kB / 0.9426 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.2445, allocations: 8 kB / 0.9426 GB, free: 9.324 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 0.0001573/0.2446, allocations: 129.9 kB / 0.9427 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.2447, allocations: 11.95 kB / 0.9427 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.245, allocations: 126.5 kB / 0.9429 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.245, allocations: 0 / 0.9429 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.245, allocations: 0 / 0.9429 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.245, allocations: 0 / 0.9429 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.2452, allocations: 137.1 kB / 0.943 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2452, allocations: 0 / 0.943 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/0.2453, allocations: 19.98 kB / 0.943 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2453, allocations: 7.938 kB / 0.943 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2453, allocations: 4 kB / 0.943 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2453, allocations: 0 / 0.943 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2453, allocations: 3.984 kB / 0.943 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.2456, allocations: 203.4 kB / 0.9432 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.2456, allocations: 11.98 kB / 0.9432 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.2457, allocations: 4 kB / 0.9432 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.2457, allocations: 4 kB / 0.9432 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.2458, allocations: 7.969 kB / 0.9433 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.2458, allocations: 4 kB / 0.9433 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.695e-05/0.2458, allocations: 95.27 kB / 0.9433 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.2458, allocations: 0 / 0.9433 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004397/0.2463, allocations: 79.73 kB / 0.9434 GB, free: 8.422 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.0005189/0.2468, allocations: 186.9 kB / 0.9436 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.247, allocations: 84.14 kB / 0.9437 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.247, allocations: 4 kB / 0.9437 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.384e-05/0.2471, allocations: 35.92 kB / 0.9437 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.2474, allocations: 24.77 kB / 0.9437 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.248, allocations: 181.1 kB / 0.9439 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.2481, allocations: 71.33 kB / 0.944 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.2482, allocations: 52.38 kB / 0.944 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.2483, allocations: 16.5 kB / 0.944 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.2483, allocations: 0 / 0.944 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of Templates: time 0.006737/0.255, allocations: 1.955 MB / 0.946 GB, free: 5.84 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=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: 8.986846294021234]