Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001801/0.001801, 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.002164/0.002164, allocations: 159.5 kB / 23.01 MB, free: 4.602 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: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.931/2.931, allocations: 394.2 MB / 0.6386 GB, free: 12.02 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002157/0.002157, allocations: 63.89 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.95/0.9521, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002308/0.9544, allocations: 1.357 MB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.193/1.147, allocations: 129.8 MB / 1.315 GB, free: 2.789 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/1.148, allocations: 0 / 1.315 GB, free: 2.789 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/1.148, allocations: 0 / 1.315 GB, free: 2.789 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/1.148, allocations: 47.86 kB / 1.315 GB, free: 2.742 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/1.149, allocations: 354.5 kB / 1.315 GB, free: 2.395 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/1.149, allocations: 75.73 kB / 1.315 GB, free: 2.32 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/1.149, allocations: 4 kB / 1.315 GB, free: 2.316 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/1.149, allocations: 27.97 kB / 1.315 GB, free: 2.289 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/1.15, allocations: 67.8 kB / 1.315 GB, free: 2.223 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/1.15, allocations: 4 kB / 1.315 GB, free: 2.219 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007725/1.15, allocations: 359.2 kB / 1.316 GB, free: 1.867 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/1.15, allocations: 23.97 kB / 1.316 GB, free: 1.844 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/1.15, allocations: 27.88 kB / 1.316 GB, free: 1.816 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004837/1.151, allocations: 266.9 kB / 1.316 GB, free: 1.559 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.151, allocations: 0 / 1.316 GB, free: 1.559 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.633e-06/1.151, allocations: 0 / 1.316 GB, free: 1.559 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.221e-06/1.151, allocations: 0 / 1.316 GB, free: 1.559 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.000515/1.152, allocations: 329.6 kB / 1.316 GB, free: 1.207 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/1.152, allocations: 12.03 kB / 1.316 GB, free: 1.195 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/1.152, allocations: 4.938 kB / 1.316 GB, free: 1.191 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/1.152, allocations: 113.7 kB / 1.316 GB, free: 1.055 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/1.152, allocations: 0 / 1.316 GB, free: 1.055 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/1.152, allocations: 7.938 kB / 1.316 GB, free: 1.047 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/1.152, allocations: 94.34 kB / 1.317 GB, free: 0.9492 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.152, allocations: 3.938 kB / 1.317 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/1.152, allocations: 0 / 1.317 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/1.152, allocations: 15.98 kB / 1.317 GB, free: 0.9297 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/1.152, allocations: 75.95 kB / 1.317 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/1.153, allocations: 292.3 kB / 1.317 GB, free: 0.5391 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/1.153, allocations: 90.48 kB / 1.317 GB, free: 452 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/1.153, allocations: 48.89 kB / 1.317 GB, free: 400 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/1.154, allocations: 87.88 kB / 1.317 GB, free: 312 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/1.154, allocations: 34.56 kB / 1.317 GB, free: 268 kB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/1.154, allocations: 0 / 1.317 GB, free: 268 kB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0003057/1.154, allocations: 129.6 kB / 1.317 GB, free: 132 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.154, allocations: 55.41 kB / 1.317 GB, free: 64 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/1.154, allocations: 121.9 kB / 1.317 GB, free: 15.93 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/1.154, allocations: 25.7 kB / 1.317 GB, free: 15.9 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/1.154, allocations: 100.3 kB / 1.318 GB, free: 15.8 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/1.154, allocations: 35.64 kB / 1.318 GB, free: 15.77 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/1.154, allocations: 37.66 kB / 1.318 GB, free: 15.72 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.154, allocations: 318.8 kB / 1.318 GB, free: 15.4 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.925e-05/1.155, allocations: 27.98 kB / 1.318 GB, free: 15.38 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-05/1.155, allocations: 74.11 kB / 1.318 GB, free: 15.29 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/1.155, allocations: 117.1 kB / 1.318 GB, free: 15.15 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.155, allocations: 3.938 kB / 1.318 GB, free: 15.15 MB / 1.17 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00022/1.155, allocations: 141.4 kB / 1.318 GB, free: 15 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.155, allocations: 4 kB / 1.318 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.155, allocations: 4 kB / 1.318 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.155, allocations: 8.094 kB / 1.318 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/1.155, allocations: 31.98 kB / 1.318 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/1.155, allocations: 0 / 1.318 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/1.155, allocations: 12.14 kB / 1.318 GB, free: 14.95 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/1.155, allocations: 4 kB / 1.318 GB, free: 14.94 MB / 1.17 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.0001074/1.155, allocations: 125.8 kB / 1.318 GB, free: 14.81 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/1.155, allocations: 11.95 kB / 1.318 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/1.156, allocations: 126.4 kB / 1.319 GB, free: 14.67 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.156, allocations: 8 kB / 1.319 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.156, allocations: 0 / 1.319 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.156, allocations: 0 / 1.319 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/1.156, allocations: 141.1 kB / 1.319 GB, free: 14.49 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.156, allocations: 0 / 1.319 GB, free: 14.49 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/1.156, allocations: 19.98 kB / 1.319 GB, free: 14.47 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.156, allocations: 0 / 1.319 GB, free: 14.47 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/1.156, allocations: 0 / 1.319 GB, free: 14.47 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/1.156, allocations: 7.938 kB / 1.319 GB, free: 14.46 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.156, allocations: 0 / 1.319 GB, free: 14.46 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/1.156, allocations: 199.5 kB / 1.319 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/1.156, allocations: 11.95 kB / 1.319 GB, free: 14.24 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/1.156, allocations: 4 kB / 1.319 GB, free: 14.24 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/1.156, allocations: 11.92 kB / 1.319 GB, free: 14.23 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/1.156, allocations: 7.938 kB / 1.319 GB, free: 14.22 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/1.156, allocations: 3.984 kB / 1.319 GB, free: 14.21 MB / 1.17 GB Notification: Performance of sorting global known variables: time 6.487e-05/1.156, allocations: 87.28 kB / 1.319 GB, free: 14.13 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.156, allocations: 0 / 1.319 GB, free: 14.13 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003928/1.157, allocations: 79.73 kB / 1.319 GB, free: 14.05 MB / 1.17 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.0003582/1.157, allocations: 179.9 kB / 1.319 GB, free: 13.87 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001954/1.157, allocations: 87.83 kB / 1.319 GB, free: 13.78 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.157, allocations: 0 / 1.319 GB, free: 13.78 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.135e-05/1.157, allocations: 32.36 kB / 1.319 GB, free: 13.75 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/1.158, allocations: 16.3 kB / 1.319 GB, free: 13.73 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/1.158, allocations: 179.1 kB / 1.32 GB, free: 13.54 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.32e-05/1.158, allocations: 79.33 kB / 1.32 GB, free: 13.44 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001211/1.158, allocations: 52.38 kB / 1.32 GB, free: 13.39 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/1.158, allocations: 12.5 kB / 1.32 GB, free: 13.38 MB / 1.17 GB Notification: Performance of SimCode: time 3.11e-07/1.158, allocations: 0 / 1.32 GB, free: 13.38 MB / 1.17 GB Notification: Performance of Templates: time 0.005652/1.164, allocations: 1.933 MB / 1.322 GB, free: 11.51 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.22621139290277]