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.001596/0.001596, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001766/0.001766, allocations: 158.5 kB / 23.01 MB, free: 4.598 MB / 14.72 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.666/2.666, allocations: 359.1 MB / 0.6044 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 75.77 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3051, allocations: 169.9 MB / 1.117 GB, free: 2.617 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002484/0.3076, allocations: 1.353 MB / 1.119 GB, free: 1.254 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.7301/1.038, allocations: 129.8 MB / 1.246 GB, free: 7.645 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/1.038, allocations: 4 kB / 1.246 GB, free: 7.641 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/1.038, allocations: 3.359 kB / 1.246 GB, free: 7.641 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001817/1.038, allocations: 37.97 kB / 1.246 GB, free: 7.633 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/1.039, allocations: 356 kB / 1.246 GB, free: 7.48 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/1.039, allocations: 71.75 kB / 1.246 GB, free: 7.457 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/1.039, allocations: 6.25 kB / 1.246 GB, free: 7.453 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.523e-05/1.039, allocations: 29.36 kB / 1.246 GB, free: 7.449 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/1.039, allocations: 60.05 kB / 1.246 GB, free: 7.434 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/1.039, allocations: 2.5 kB / 1.246 GB, free: 7.434 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007407/1.04, allocations: 363.6 kB / 1.246 GB, free: 7.316 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/1.04, allocations: 29.33 kB / 1.247 GB, free: 7.309 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/1.04, allocations: 19.25 kB / 1.247 GB, free: 7.305 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004742/1.041, allocations: 269.9 kB / 1.247 GB, free: 7.234 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/1.041, allocations: 1.5 kB / 1.247 GB, free: 7.234 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.413e-06/1.041, allocations: 4 kB / 1.247 GB, free: 7.23 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.579e-06/1.041, allocations: 0 / 1.247 GB, free: 7.23 MB / 1.107 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.0004586/1.041, allocations: 328.7 kB / 1.247 GB, free: 6.922 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/1.041, allocations: 9.469 kB / 1.247 GB, free: 6.922 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/1.041, allocations: 7.984 kB / 1.247 GB, free: 6.918 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.723e-05/1.041, allocations: 109.2 kB / 1.247 GB, free: 6.789 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.041, allocations: 10.5 kB / 1.247 GB, free: 6.781 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/1.041, allocations: 6.297 kB / 1.247 GB, free: 6.777 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/1.042, allocations: 93.06 kB / 1.247 GB, free: 6.73 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/1.042, allocations: 0 / 1.247 GB, free: 6.73 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/1.042, allocations: 1.188 kB / 1.247 GB, free: 6.73 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/1.042, allocations: 19.52 kB / 1.247 GB, free: 6.723 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/1.042, allocations: 74.84 kB / 1.247 GB, free: 6.711 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/1.042, allocations: 280.3 kB / 1.248 GB, free: 6.48 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/1.042, allocations: 99.84 kB / 1.248 GB, free: 6.438 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.914e-05/1.042, allocations: 46.84 kB / 1.248 GB, free: 6.422 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007099/1.043, allocations: 91.5 kB / 1.248 GB, free: 6.41 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.043, allocations: 40.91 kB / 1.248 GB, free: 6.363 MB / 1.107 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/1.043, allocations: 0 / 1.248 GB, free: 6.363 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0002706/1.044, allocations: 125.3 kB / 1.248 GB, free: 6.305 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.044, allocations: 54.06 kB / 1.248 GB, free: 6.242 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/1.044, allocations: 120.9 kB / 1.248 GB, free: 6.133 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/1.044, allocations: 30.83 kB / 1.248 GB, free: 6.098 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/1.044, allocations: 96.17 kB / 1.248 GB, free: 6.004 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/1.044, allocations: 45.45 kB / 1.248 GB, free: 5.969 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/1.044, allocations: 32.08 kB / 1.248 GB, free: 5.945 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.044, allocations: 315.9 kB / 1.249 GB, free: 5.633 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-05/1.044, allocations: 35.56 kB / 1.249 GB, free: 5.621 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.121e-05/1.044, allocations: 73.03 kB / 1.249 GB, free: 5.566 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/1.044, allocations: 119.4 kB / 1.249 GB, free: 5.488 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.044, allocations: 1.062 kB / 1.249 GB, free: 5.488 MB / 1.107 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002167/1.045, allocations: 136.8 kB / 1.249 GB, free: 5.426 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.045, allocations: 9.75 kB / 1.249 GB, free: 5.422 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.045, allocations: 3.016 kB / 1.249 GB, free: 5.422 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.045, allocations: 2.094 kB / 1.249 GB, free: 5.422 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/1.045, allocations: 26.23 kB / 1.249 GB, free: 5.422 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.045, allocations: 0.7812 kB / 1.249 GB, free: 5.422 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/1.045, allocations: 21.02 kB / 1.249 GB, free: 5.406 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/1.045, allocations: 4.531 kB / 1.249 GB, free: 5.406 MB / 1.107 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/1.045, allocations: 124.5 kB / 1.249 GB, free: 5.285 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/1.045, allocations: 2.984 kB / 1.249 GB, free: 5.285 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/1.045, allocations: 137.1 kB / 1.249 GB, free: 5.207 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.045, allocations: 2.562 kB / 1.249 GB, free: 5.207 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.045, allocations: 1.219 kB / 1.249 GB, free: 5.207 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.045, allocations: 4.5 kB / 1.249 GB, free: 5.203 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/1.045, allocations: 130.8 kB / 1.25 GB, free: 5.066 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.045, allocations: 0 / 1.25 GB, free: 5.066 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/1.045, allocations: 19.44 kB / 1.25 GB, free: 5.066 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.045, allocations: 0.9688 kB / 1.25 GB, free: 5.066 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/1.045, allocations: 1 kB / 1.25 GB, free: 5.066 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/1.045, allocations: 4.703 kB / 1.25 GB, free: 5.062 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.045, allocations: 1.594 kB / 1.25 GB, free: 5.062 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/1.046, allocations: 207.1 kB / 1.25 GB, free: 4.902 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/1.046, allocations: 17.56 kB / 1.25 GB, free: 4.895 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/1.046, allocations: 1.094 kB / 1.25 GB, free: 4.895 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.882e-05/1.046, allocations: 5.625 kB / 1.25 GB, free: 4.891 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/1.046, allocations: 5.703 kB / 1.25 GB, free: 4.891 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/1.046, allocations: 3.797 kB / 1.25 GB, free: 4.891 MB / 1.107 GB Notification: Performance of sorting global known variables: time 6.42e-05/1.046, allocations: 94.73 kB / 1.25 GB, free: 4.809 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.046, allocations: 0 / 1.25 GB, free: 4.809 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004031/1.046, allocations: 76.59 kB / 1.25 GB, free: 4.789 MB / 1.107 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.000344/1.047, allocations: 187.2 kB / 1.25 GB, free: 4.676 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000175/1.047, allocations: 83.53 kB / 1.25 GB, free: 4.656 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1.047, allocations: 0 / 1.25 GB, free: 4.656 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 5.664e-05/1.047, allocations: 35.8 kB / 1.25 GB, free: 4.648 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/1.047, allocations: 22.64 kB / 1.25 GB, free: 4.641 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/1.047, allocations: 173.7 kB / 1.25 GB, free: 4.523 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.582e-05/1.047, allocations: 73.64 kB / 1.25 GB, free: 4.453 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001254/1.048, allocations: 66.48 kB / 1.251 GB, free: 4.438 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/1.048, allocations: 14.72 kB / 1.251 GB, free: 4.426 MB / 1.107 GB Notification: Performance of SimCode: time 3.11e-07/1.048, allocations: 0 / 1.251 GB, free: 4.426 MB / 1.107 GB Notification: Performance of Templates: time 0.005266/1.053, allocations: 1.905 MB / 1.252 GB, free: 4.23 MB / 1.107 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 400] 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/jenkins1/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.554040397051722]