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.001156/0.001156, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008897/0.008897, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.654/2.654, allocations: 462.6 MB / 0.7364 GB, free: 348 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003212, allocations: 11.91 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2713, allocations: 159.6 MB / 1.059 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001237/0.2726, allocations: 1.055 MB / 1.06 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1397/0.4123, allocations: 144.1 MB / 1.2 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.4124, allocations: 0 / 1.2 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.917e-05/0.4124, allocations: 4 kB / 1.2 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.4126, allocations: 43.86 kB / 1.2 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.4137, allocations: 318.8 kB / 1.201 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.414, allocations: 183.7 kB / 1.201 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.414, allocations: 8 kB / 1.201 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.4141, allocations: 27.91 kB / 1.201 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.4142, allocations: 63.81 kB / 1.201 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.4142, allocations: 4 kB / 1.201 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007363/0.415, allocations: 443 kB / 1.201 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.4151, allocations: 23.97 kB / 1.201 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.4151, allocations: 49.56 kB / 1.202 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.4155, allocations: 283.6 kB / 1.202 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4155, allocations: 4 kB / 1.202 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4156, allocations: 4 kB / 1.202 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.4156, allocations: 0 / 1.202 GB, free: 2.441 MB / 0.9512 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.0003494/0.4159, allocations: 383.4 kB / 1.202 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.416, allocations: 8.031 kB / 1.202 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.416, allocations: 8.844 kB / 1.202 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.4161, allocations: 172.2 kB / 1.202 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.4161, allocations: 3.938 kB / 1.202 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.4161, allocations: 4 kB / 1.202 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.4163, allocations: 97.64 kB / 1.202 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.4163, allocations: 4 kB / 1.202 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4163, allocations: 0 / 1.202 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.4163, allocations: 11.98 kB / 1.202 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.4165, allocations: 83.89 kB / 1.203 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.4169, allocations: 332.7 kB / 1.203 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.417, allocations: 110.5 kB / 1.203 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.4171, allocations: 56.89 kB / 1.203 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008192/0.4179, allocations: 477.4 kB / 1.203 GB, free: 492 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.418, allocations: 38.66 kB / 1.204 GB, free: 444 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.418, allocations: 7.938 kB / 1.204 GB, free: 436 kB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0002687/0.4183, allocations: 121.5 kB / 1.204 GB, free: 308 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.4183, allocations: 55.34 kB / 1.204 GB, free: 240 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.4184, allocations: 113.8 kB / 1.204 GB, free: 116 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.4185, allocations: 25.7 kB / 1.204 GB, free: 84 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.4185, allocations: 96.44 kB / 1.204 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.4186, allocations: 39.45 kB / 1.204 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.4186, allocations: 25.7 kB / 1.204 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.4187, allocations: 314.8 kB / 1.204 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.4187, allocations: 35.97 kB / 1.204 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.4188, allocations: 69.08 kB / 1.204 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.419, allocations: 113.1 kB / 1.204 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.419, allocations: 0 / 1.204 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001915/0.4192, allocations: 141.8 kB / 1.205 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4192, allocations: 5.562 kB / 1.205 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4192, allocations: 4 kB / 1.205 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.4192, allocations: 4 kB / 1.205 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4193, allocations: 31.86 kB / 1.205 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4193, allocations: 4 kB / 1.205 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.4194, allocations: 19.83 kB / 1.205 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4194, allocations: 4 kB / 1.205 GB, free: 15.13 MB / 0.9669 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 7.738e-05/0.4195, allocations: 119.4 kB / 1.205 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.4195, allocations: 4 kB / 1.205 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.4197, allocations: 133.9 kB / 1.205 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4198, allocations: 3.938 kB / 1.205 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4198, allocations: 4 kB / 1.205 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4198, allocations: 256 / 1.205 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.4199, allocations: 185.5 kB / 1.205 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.42, allocations: 4 kB / 1.205 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.42, allocations: 16 kB / 1.205 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.42, allocations: 3.984 kB / 1.205 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.42, allocations: 4 kB / 1.205 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4201, allocations: 7.938 kB / 1.205 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4201, allocations: 0 / 1.205 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.4202, allocations: 203.3 kB / 1.205 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.4203, allocations: 85.09 kB / 1.205 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.4203, allocations: 0 / 1.205 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.71e-05/0.4204, allocations: 11.88 kB / 1.205 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.4204, allocations: 7.984 kB / 1.205 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4204, allocations: 8 kB / 1.205 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.4204, allocations: 91.27 kB / 1.206 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4204, allocations: 0 / 1.206 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003365/0.4208, allocations: 71.94 kB / 1.206 GB, free: 14.08 MB / 0.9669 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.0002917/0.4211, allocations: 187.1 kB / 1.206 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.4212, allocations: 91.94 kB / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4213, allocations: 0 / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.724e-05/0.4213, allocations: 31.98 kB / 1.206 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.4216, allocations: 19.92 kB / 1.206 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.4219, allocations: 211.5 kB / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.4221, allocations: 0.6848 MB / 1.207 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000153/0.4223, allocations: 56.86 kB / 1.207 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.4223, allocations: 19.44 kB / 1.207 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.4223, allocations: 0 / 1.207 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.004434/0.4268, allocations: 1.859 MB / 1.209 GB, free: 10.92 MB / 0.9669 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/jenkins/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