Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007364/0.007363, allocations: 103.3 kB / 15.73 MB, free: 6.055 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.001231/0.001231, allocations: 194.8 kB / 16.68 MB, free: 5.965 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.349/1.349, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.001521, allocations: 63.91 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8516/0.8532, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002154/0.8554, allocations: 1.321 MB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1821/1.038, allocations: 147.9 MB / 1.234 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/1.038, allocations: 0 / 1.234 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.505e-05/1.038, allocations: 3.938 kB / 1.234 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002069/1.038, allocations: 40.64 kB / 1.234 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/1.04, allocations: 366.5 kB / 1.234 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/1.04, allocations: 69.7 kB / 1.234 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/1.04, allocations: 2.156 kB / 1.234 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/1.04, allocations: 30.61 kB / 1.234 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/1.04, allocations: 52.77 kB / 1.234 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/1.04, allocations: 2.375 kB / 1.234 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/1.041, allocations: 415.2 kB / 1.235 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/1.041, allocations: 30.98 kB / 1.235 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/1.041, allocations: 21.69 kB / 1.235 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007987/1.042, allocations: 276.9 kB / 1.235 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.042, allocations: 0 / 1.235 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/1.042, allocations: 0 / 1.235 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.042, allocations: 0 / 1.235 GB, free: 4.797 MB / 0.9669 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.0006131/1.043, allocations: 408.5 kB / 1.235 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.043, allocations: 9.531 kB / 1.235 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/1.043, allocations: 7.188 kB / 1.235 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/1.043, allocations: 170 kB / 1.235 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.043, allocations: 1.094 kB / 1.235 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/1.043, allocations: 2.156 kB / 1.235 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/1.043, allocations: 100.1 kB / 1.236 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.043, allocations: 4.75 kB / 1.236 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/1.043, allocations: 0 / 1.236 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/1.043, allocations: 13.95 kB / 1.236 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/1.043, allocations: 83.55 kB / 1.236 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/1.044, allocations: 337.7 kB / 1.236 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/1.044, allocations: 99.09 kB / 1.236 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.569e-05/1.044, allocations: 55.34 kB / 1.236 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009289/1.045, allocations: 480.7 kB / 1.237 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/1.045, allocations: 31.75 kB / 1.237 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/1.045, allocations: 0 / 1.237 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002932/1.046, allocations: 126.1 kB / 1.237 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/1.046, allocations: 53.5 kB / 1.237 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/1.046, allocations: 118 kB / 1.237 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.046, allocations: 26.89 kB / 1.237 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/1.046, allocations: 94.5 kB / 1.237 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/1.046, allocations: 45.11 kB / 1.237 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/1.046, allocations: 36.95 kB / 1.237 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.046, allocations: 313.1 kB / 1.237 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.269e-05/1.046, allocations: 31.67 kB / 1.237 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/1.046, allocations: 74.38 kB / 1.238 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/1.046, allocations: 118.7 kB / 1.238 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.046, allocations: 1.188 kB / 1.238 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000226/1.047, allocations: 136.9 kB / 1.238 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.047, allocations: 9.438 kB / 1.238 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.047, allocations: 1.375 kB / 1.238 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/1.047, allocations: 2.75 kB / 1.238 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/1.047, allocations: 25.98 kB / 1.238 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.047, allocations: 13.23 kB / 1.238 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/1.047, allocations: 15.97 kB / 1.238 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/1.047, allocations: 4.125 kB / 1.238 GB, free: 2.09 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 0.0001315/1.047, allocations: 122.2 kB / 1.238 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/1.047, allocations: 15.97 kB / 1.238 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/1.047, allocations: 126.6 kB / 1.238 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.047, allocations: 1.375 kB / 1.238 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.047, allocations: 0 / 1.238 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.047, allocations: 1.375 kB / 1.238 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/1.048, allocations: 179.5 kB / 1.238 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.048, allocations: 0 / 1.238 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.535e-05/1.048, allocations: 19.06 kB / 1.238 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/1.048, allocations: 7.938 kB / 1.238 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/1.048, allocations: 5.375 kB / 1.238 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/1.048, allocations: 5.609 kB / 1.238 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.048, allocations: 0 / 1.238 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/1.048, allocations: 206.7 kB / 1.238 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/1.048, allocations: 90.41 kB / 1.239 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/1.048, allocations: 9 kB / 1.239 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/1.048, allocations: 1.062 kB / 1.239 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/1.048, allocations: 11.27 kB / 1.239 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/1.048, allocations: 3.125 kB / 1.239 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.079e-05/1.048, allocations: 86.91 kB / 1.239 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.048, allocations: 0 / 1.239 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000464/1.049, allocations: 76.58 kB / 1.239 GB, free: 1.254 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.0004478/1.049, allocations: 185 kB / 1.239 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002007/1.049, allocations: 87.2 kB / 1.239 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.049, allocations: 0 / 1.239 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.194e-05/1.049, allocations: 33.05 kB / 1.239 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/1.05, allocations: 21.73 kB / 1.239 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/1.05, allocations: 191.2 kB / 1.239 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/1.05, allocations: 0.6904 MB / 1.24 GB, free: 224 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001292/1.051, allocations: 47.97 kB / 1.24 GB, free: 204 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/1.051, allocations: 14.59 kB / 1.24 GB, free: 196 kB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/1.051, allocations: 0 / 1.24 GB, free: 196 kB / 0.9669 GB Notification: Performance of Templates: time 0.005978/1.057, allocations: 1.92 MB / 1.242 GB, free: 15.24 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches