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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|cpe10|cpe15|cpe20|cpe25|cpe30",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 104.2 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.67 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3457, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.003073/0.3488, allocations: 1.335 MB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8015/1.15, allocations: 147.9 MB / 1.21 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/1.15, allocations: 0 / 1.21 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/1.151, allocations: 3.938 kB / 1.21 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001809/1.151, allocations: 49.14 kB / 1.21 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/1.152, allocations: 359.4 kB / 1.21 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/1.152, allocations: 63.33 kB / 1.21 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/1.152, allocations: 6.047 kB / 1.21 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.535e-05/1.152, allocations: 35.03 kB / 1.21 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/1.152, allocations: 48.73 kB / 1.21 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/1.152, allocations: 2.625 kB / 1.21 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008056/1.153, allocations: 405.9 kB / 1.211 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.424e-05/1.153, allocations: 27.73 kB / 1.211 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/1.153, allocations: 35.61 kB / 1.211 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000489/1.154, allocations: 273 kB / 1.211 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.154, allocations: 0 / 1.211 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/1.154, allocations: 0 / 1.211 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.161e-06/1.154, allocations: 0.9375 kB / 1.211 GB, free: 13.68 MB / 0.9356 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.000472/1.154, allocations: 398.8 kB / 1.212 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.154, allocations: 11.12 kB / 1.212 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/1.154, allocations: 6.875 kB / 1.212 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.155, allocations: 165.6 kB / 1.212 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/1.155, allocations: 14.11 kB / 1.212 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/1.155, allocations: 5.938 kB / 1.212 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/1.155, allocations: 92.62 kB / 1.212 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.155, allocations: 0 / 1.212 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.155, allocations: 1.375 kB / 1.212 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/1.155, allocations: 16.77 kB / 1.212 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/1.155, allocations: 82.8 kB / 1.212 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/1.156, allocations: 334.5 kB / 1.212 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/1.156, allocations: 102.1 kB / 1.212 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/1.156, allocations: 51.72 kB / 1.212 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008923/1.157, allocations: 470 kB / 1.213 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/1.157, allocations: 35.75 kB / 1.213 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/1.157, allocations: 3.984 kB / 1.213 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0002891/1.157, allocations: 126.6 kB / 1.213 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/1.157, allocations: 56.81 kB / 1.213 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/1.157, allocations: 117.6 kB / 1.213 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/1.157, allocations: 26.73 kB / 1.213 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/1.157, allocations: 90.5 kB / 1.213 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/1.157, allocations: 49.03 kB / 1.213 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/1.157, allocations: 36.89 kB / 1.213 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.158, allocations: 313.5 kB / 1.214 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.444e-05/1.158, allocations: 35.08 kB / 1.214 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-05/1.158, allocations: 72.08 kB / 1.214 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/1.158, allocations: 114.4 kB / 1.214 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.158, allocations: 0 / 1.214 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002197/1.158, allocations: 140.9 kB / 1.214 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.158, allocations: 6.281 kB / 1.214 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.158, allocations: 5.438 kB / 1.214 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.158, allocations: 2.781 kB / 1.214 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.158, allocations: 28.7 kB / 1.214 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.158, allocations: 9.938 kB / 1.214 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/1.158, allocations: 12.25 kB / 1.214 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/1.158, allocations: 5.938 kB / 1.214 GB, free: 10.98 MB / 0.9356 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 9.083e-05/1.158, allocations: 121.5 kB / 1.214 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/1.158, allocations: 6.875 kB / 1.214 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/1.159, allocations: 132.5 kB / 1.214 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/1.159, allocations: 6.266 kB / 1.214 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.159, allocations: 3.938 kB / 1.214 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.159, allocations: 0 / 1.214 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/1.159, allocations: 176.6 kB / 1.215 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.159, allocations: 3.875 kB / 1.215 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/1.159, allocations: 14.69 kB / 1.215 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.159, allocations: 1.062 kB / 1.215 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/1.159, allocations: 9.062 kB / 1.215 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.159, allocations: 1.125 kB / 1.215 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.159, allocations: 7.922 kB / 1.215 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/1.159, allocations: 198.8 kB / 1.215 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/1.159, allocations: 94.59 kB / 1.215 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/1.159, allocations: 5.125 kB / 1.215 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/1.159, allocations: 1.062 kB / 1.215 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/1.159, allocations: 11.42 kB / 1.215 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/1.159, allocations: 6.375 kB / 1.215 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.844e-05/1.16, allocations: 87.03 kB / 1.215 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.16, allocations: 0 / 1.215 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003873/1.16, allocations: 80.95 kB / 1.215 GB, free: 10.15 MB / 0.9356 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.0003546/1.16, allocations: 180.7 kB / 1.215 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001967/1.161, allocations: 101.8 kB / 1.215 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.161, allocations: 0 / 1.215 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.507e-05/1.161, allocations: 37.36 kB / 1.215 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/1.161, allocations: 23.23 kB / 1.215 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/1.161, allocations: 194.1 kB / 1.216 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/1.162, allocations: 0.6914 MB / 1.216 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/1.162, allocations: 14.59 kB / 1.216 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of SimCode: time 6.71e-07/1.162, allocations: 0 / 1.216 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of Templates: time 0.00381/1.165, allocations: 1.845 MB / 1.218 GB, free: 8.172 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) 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) Reference file matches