Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001911/0.001911, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002036/0.002036, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.879/2.879, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.565e-05, allocations: 7.844 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002695/0.002731, allocations: 1.361 MB / 0.7878 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2044/0.2071, allocations: 143.4 MB / 0.9278 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.2072, allocations: 4 kB / 0.9278 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 5.061e-05/0.2072, allocations: 7.922 kB / 0.9278 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.2074, allocations: 39.81 kB / 0.9278 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.2086, allocations: 366.3 kB / 0.9282 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.2087, allocations: 67.75 kB / 0.9282 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.2087, allocations: 7.938 kB / 0.9282 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.2088, allocations: 35.95 kB / 0.9283 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.2089, allocations: 59.86 kB / 0.9283 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2089, allocations: 0 / 0.9283 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007354/0.2097, allocations: 363 kB / 0.9287 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.2097, allocations: 39.91 kB / 0.9287 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.2098, allocations: 15.98 kB / 0.9287 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.2103, allocations: 306 kB / 0.929 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2103, allocations: 4 kB / 0.929 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2103, allocations: 0 / 0.929 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.2103, allocations: 0 / 0.929 GB, free: 10.26 MB / 0.8855 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.00051/0.2108, allocations: 427.6 kB / 0.9294 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2109, allocations: 8.031 kB / 0.9294 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.2109, allocations: 8.891 kB / 0.9295 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.211, allocations: 120.5 kB / 0.9296 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.211, allocations: 4.359 kB / 0.9296 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.211, allocations: 4.375 kB / 0.9296 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2112, allocations: 65.55 kB / 0.9296 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2112, allocations: 4 kB / 0.9296 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2112, allocations: 3.984 kB / 0.9296 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.2112, allocations: 12 kB / 0.9297 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.2113, allocations: 43.91 kB / 0.9297 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.2118, allocations: 315.6 kB / 0.93 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.212, allocations: 75.05 kB / 0.9301 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.2121, allocations: 31.73 kB / 0.9301 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.2127, allocations: 87.91 kB / 0.9302 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.2128, allocations: 37.42 kB / 0.9302 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.2128, allocations: 0 / 0.9302 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0002601/0.213, allocations: 97.56 kB / 0.9303 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.2131, allocations: 51.41 kB / 0.9304 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2132, allocations: 173.9 kB / 0.9305 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2132, allocations: 25.7 kB / 0.9306 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.2133, allocations: 147.1 kB / 0.9307 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.2134, allocations: 43.62 kB / 0.9307 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.2134, allocations: 43.36 kB / 0.9308 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000274/0.2137, allocations: 0.4922 MB / 0.9313 GB, free: 7.777 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.2138, allocations: 19.98 kB / 0.9313 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.2139, allocations: 78.05 kB / 0.9314 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.214, allocations: 102 kB / 0.9314 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.214, allocations: 0 / 0.9314 GB, free: 7.531 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004289/0.2144, allocations: 121.9 kB / 0.9316 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2145, allocations: 8 kB / 0.9316 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2145, allocations: 256 / 0.9316 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2145, allocations: 4 kB / 0.9316 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.2146, allocations: 31.92 kB / 0.9316 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2146, allocations: 4 kB / 0.9316 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.2147, allocations: 15.89 kB / 0.9316 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2147, allocations: 4 kB / 0.9316 GB, free: 7.34 MB / 0.8855 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.0001227/0.2148, allocations: 164.5 kB / 0.9318 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.2148, allocations: 15.92 kB / 0.9318 GB, free: 7.152 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.215, allocations: 102.2 kB / 0.9319 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.215, allocations: 0 / 0.9319 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2151, allocations: 0 / 0.9319 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2151, allocations: 3.984 kB / 0.9319 GB, free: 7.039 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.2153, allocations: 136.5 kB / 0.932 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2153, allocations: 0 / 0.932 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.2153, allocations: 19.98 kB / 0.9321 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2153, allocations: 0 / 0.9321 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2153, allocations: 4 kB / 0.9321 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2153, allocations: 4 kB / 0.9321 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2153, allocations: 0 / 0.9321 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.2156, allocations: 247.7 kB / 0.9323 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.2156, allocations: 15.98 kB / 0.9323 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2156, allocations: 0 / 0.9323 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.707e-05/0.2157, allocations: 4 kB / 0.9323 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.2157, allocations: 7.984 kB / 0.9323 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2157, allocations: 0 / 0.9323 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.936e-05/0.2158, allocations: 131.2 kB / 0.9324 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2158, allocations: 0 / 0.9324 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003554/0.2162, allocations: 75.73 kB / 0.9325 GB, free: 6.352 MB / 0.8855 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.0003806/0.2165, allocations: 206.8 kB / 0.9327 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.2167, allocations: 71.53 kB / 0.9328 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.2167, allocations: 0 / 0.9328 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.2168, allocations: 35.98 kB / 0.9328 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.217, allocations: 32.64 kB / 0.9329 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.2174, allocations: 162.8 kB / 0.933 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.838e-05/0.2175, allocations: 79.33 kB / 0.9331 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.2176, allocations: 44.92 kB / 0.9331 GB, free: 5.668 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.2176, allocations: 20.5 kB / 0.9331 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/0.2176, allocations: 0 / 0.9331 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of Templates: time 0.005868/0.2235, allocations: 1.948 MB / 0.935 GB, free: 3.766 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.319898438989185]