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.001727/0.001727, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001996/0.001996, allocations: 209.6 kB / 22.99 MB, free: 4.957 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.424/3.424, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002098/0.002098, allocations: 62.47 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4928, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002826/0.4956, allocations: 1.348 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2017/0.6973, allocations: 129.8 MB / 1.455 GB, free: 13.31 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.6974, allocations: 4 kB / 1.455 GB, free: 13.31 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 5.582e-05/0.6974, allocations: 3.984 kB / 1.455 GB, free: 13.3 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.6976, allocations: 39.88 kB / 1.455 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.6991, allocations: 362.5 kB / 1.456 GB, free: 12.91 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.6993, allocations: 75.73 kB / 1.456 GB, free: 12.84 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.6993, allocations: 4 kB / 1.456 GB, free: 12.83 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.789e-05/0.6994, allocations: 23.92 kB / 1.456 GB, free: 12.81 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.6995, allocations: 63.84 kB / 1.456 GB, free: 12.75 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.6996, allocations: 4 kB / 1.456 GB, free: 12.74 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007532/0.7003, allocations: 375.2 kB / 1.456 GB, free: 12.38 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.7004, allocations: 27.91 kB / 1.456 GB, free: 12.35 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.7004, allocations: 23.92 kB / 1.456 GB, free: 12.32 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.7009, allocations: 271.1 kB / 1.456 GB, free: 12.06 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7009, allocations: 0 / 1.456 GB, free: 12.06 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7009, allocations: 0 / 1.456 GB, free: 12.06 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.7009, allocations: 4 kB / 1.456 GB, free: 12.05 MB / 1.154 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.0004961/0.7014, allocations: 323.4 kB / 1.457 GB, free: 11.71 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.7015, allocations: 8.031 kB / 1.457 GB, free: 11.7 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.7015, allocations: 8.891 kB / 1.457 GB, free: 11.7 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.7017, allocations: 118.4 kB / 1.457 GB, free: 11.55 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.7017, allocations: 11.94 kB / 1.457 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.7017, allocations: 0 / 1.457 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.7019, allocations: 95.89 kB / 1.457 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.7019, allocations: 0 / 1.457 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.7019, allocations: 7.984 kB / 1.457 GB, free: 11.44 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.702, allocations: 12 kB / 1.457 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.7021, allocations: 71.95 kB / 1.457 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.7026, allocations: 288.3 kB / 1.457 GB, free: 11.04 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.7028, allocations: 94.53 kB / 1.457 GB, free: 10.94 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.7029, allocations: 44.91 kB / 1.457 GB, free: 10.89 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007785/0.7037, allocations: 91.89 kB / 1.458 GB, free: 10.8 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.7037, allocations: 34.56 kB / 1.458 GB, free: 10.76 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.7037, allocations: 0 / 1.458 GB, free: 10.76 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0003087/0.704, allocations: 129.5 kB / 1.458 GB, free: 10.63 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.7041, allocations: 51.41 kB / 1.458 GB, free: 10.57 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.7042, allocations: 121.8 kB / 1.458 GB, free: 10.44 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.7042, allocations: 29.7 kB / 1.458 GB, free: 10.4 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.7043, allocations: 104.3 kB / 1.458 GB, free: 10.3 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.7043, allocations: 43.69 kB / 1.458 GB, free: 10.25 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.7044, allocations: 29.72 kB / 1.458 GB, free: 10.22 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7045, allocations: 318.8 kB / 1.458 GB, free: 9.898 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.7046, allocations: 35.86 kB / 1.458 GB, free: 9.863 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.7047, allocations: 73.12 kB / 1.458 GB, free: 9.773 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.7049, allocations: 120.9 kB / 1.459 GB, free: 9.637 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7049, allocations: 0 / 1.459 GB, free: 9.637 MB / 1.154 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002298/0.7051, allocations: 137.5 kB / 1.459 GB, free: 9.496 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7051, allocations: 4 kB / 1.459 GB, free: 9.492 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7051, allocations: 0 / 1.459 GB, free: 9.492 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.7051, allocations: 4 kB / 1.459 GB, free: 9.488 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.7053, allocations: 27.98 kB / 1.459 GB, free: 9.461 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.7053, allocations: 11.88 kB / 1.459 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.7053, allocations: 12.11 kB / 1.459 GB, free: 9.438 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.7053, allocations: 4 kB / 1.459 GB, free: 9.434 MB / 1.154 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.0001388/0.7055, allocations: 126.3 kB / 1.459 GB, free: 9.301 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.7055, allocations: 7.953 kB / 1.459 GB, free: 9.293 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.7058, allocations: 126.4 kB / 1.459 GB, free: 9.164 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.7058, allocations: 7.984 kB / 1.459 GB, free: 9.156 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7058, allocations: 3.938 kB / 1.459 GB, free: 9.152 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.7058, allocations: 3.984 kB / 1.459 GB, free: 9.148 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.706, allocations: 125.6 kB / 1.459 GB, free: 8.996 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.706, allocations: 3.984 kB / 1.459 GB, free: 8.992 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.706, allocations: 20 kB / 1.459 GB, free: 8.973 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.706, allocations: 0 / 1.459 GB, free: 8.973 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.706, allocations: 0 / 1.459 GB, free: 8.973 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7061, allocations: 0 / 1.459 GB, free: 8.973 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.7061, allocations: 3.984 kB / 1.459 GB, free: 8.969 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.7063, allocations: 211.3 kB / 1.459 GB, free: 8.746 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.7063, allocations: 23.88 kB / 1.459 GB, free: 8.723 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.7063, allocations: 0 / 1.459 GB, free: 8.723 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.7064, allocations: 8 kB / 1.459 GB, free: 8.715 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.7064, allocations: 7.984 kB / 1.459 GB, free: 8.707 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.7064, allocations: 7.938 kB / 1.459 GB, free: 8.699 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.824e-05/0.7065, allocations: 87.28 kB / 1.46 GB, free: 8.613 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.7065, allocations: 0 / 1.46 GB, free: 8.613 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003828/0.7069, allocations: 75.73 kB / 1.46 GB, free: 8.539 MB / 1.154 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.000399/0.7073, allocations: 186.9 kB / 1.46 GB, free: 8.348 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.7075, allocations: 83.84 kB / 1.46 GB, free: 8.266 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7075, allocations: 0 / 1.46 GB, free: 8.266 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.159e-05/0.7075, allocations: 31.92 kB / 1.46 GB, free: 8.234 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.7078, allocations: 24.48 kB / 1.46 GB, free: 8.215 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.7082, allocations: 166.9 kB / 1.46 GB, free: 8.027 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.617e-05/0.7083, allocations: 83.48 kB / 1.46 GB, free: 7.926 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.7085, allocations: 53.03 kB / 1.46 GB, free: 7.871 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.7085, allocations: 11.44 kB / 1.46 GB, free: 7.859 MB / 1.154 GB Notification: Performance of SimCode: time 3.6e-07/0.7085, allocations: 4 kB / 1.46 GB, free: 7.855 MB / 1.154 GB Notification: Performance of Templates: time 0.006033/0.7145, allocations: 2.043 MB / 1.462 GB, free: 5.871 MB / 1.154 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/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: 10.446506495994981]