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.006899/0.006899, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001703/0.001703, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.524/2.524, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 60.31 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7295, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002141/0.7317, allocations: 1.329 MB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1502/0.8819, allocations: 147.9 MB / 1.353 GB, free: 7.816 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.882, allocations: 0 / 1.353 GB, free: 7.816 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.882, allocations: 3.938 kB / 1.353 GB, free: 7.812 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.8822, allocations: 47.86 kB / 1.354 GB, free: 7.766 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.8833, allocations: 362.5 kB / 1.354 GB, free: 7.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.8835, allocations: 63.83 kB / 1.354 GB, free: 7.348 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.8836, allocations: 3.984 kB / 1.354 GB, free: 7.344 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/0.8836, allocations: 35.91 kB / 1.354 GB, free: 7.309 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.8837, allocations: 51.88 kB / 1.354 GB, free: 7.258 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.8837, allocations: 4 kB / 1.354 GB, free: 7.254 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007477/0.8845, allocations: 415.1 kB / 1.354 GB, free: 6.848 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.8846, allocations: 23.97 kB / 1.354 GB, free: 6.824 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.8846, allocations: 27.86 kB / 1.354 GB, free: 6.797 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.8851, allocations: 277.1 kB / 1.355 GB, free: 6.531 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8851, allocations: 0 / 1.355 GB, free: 6.531 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8851, allocations: 0 / 1.355 GB, free: 6.531 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.8851, allocations: 3.984 kB / 1.355 GB, free: 6.527 MB / 1.076 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.000449/0.8855, allocations: 391.3 kB / 1.355 GB, free: 6.098 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.8856, allocations: 8.031 kB / 1.355 GB, free: 6.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.8856, allocations: 4.938 kB / 1.355 GB, free: 6.086 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.8858, allocations: 176.2 kB / 1.355 GB, free: 5.875 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.8858, allocations: 7.938 kB / 1.355 GB, free: 5.867 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.8858, allocations: 4 kB / 1.355 GB, free: 5.863 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.886, allocations: 93.59 kB / 1.355 GB, free: 5.766 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.886, allocations: 3.938 kB / 1.355 GB, free: 5.762 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.886, allocations: 3.984 kB / 1.355 GB, free: 5.758 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.8861, allocations: 19.98 kB / 1.355 GB, free: 5.738 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.8862, allocations: 79.89 kB / 1.355 GB, free: 5.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.8867, allocations: 332.7 kB / 1.356 GB, free: 5.285 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.8868, allocations: 102.5 kB / 1.356 GB, free: 5.176 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.8869, allocations: 56.89 kB / 1.356 GB, free: 5.117 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008475/0.8878, allocations: 469.4 kB / 1.356 GB, free: 4.566 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.8878, allocations: 30.66 kB / 1.356 GB, free: 4.527 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/0.8878, allocations: 7.938 kB / 1.356 GB, free: 4.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.000263/0.8881, allocations: 121.6 kB / 1.357 GB, free: 4.395 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.8881, allocations: 55.34 kB / 1.357 GB, free: 4.328 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.8882, allocations: 117.9 kB / 1.357 GB, free: 4.203 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.8883, allocations: 29.7 kB / 1.357 GB, free: 4.168 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.8883, allocations: 92.09 kB / 1.357 GB, free: 4.074 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.8883, allocations: 43.39 kB / 1.357 GB, free: 4.031 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.8884, allocations: 33.7 kB / 1.357 GB, free: 3.992 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.8885, allocations: 318.8 kB / 1.357 GB, free: 3.672 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.8886, allocations: 31.97 kB / 1.357 GB, free: 3.641 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.33e-05/0.8886, allocations: 69.08 kB / 1.357 GB, free: 3.555 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.8888, allocations: 121.5 kB / 1.357 GB, free: 3.418 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8888, allocations: 0 / 1.357 GB, free: 3.418 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001965/0.889, allocations: 141.4 kB / 1.358 GB, free: 3.273 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.889, allocations: 7.984 kB / 1.358 GB, free: 3.266 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.889, allocations: 4 kB / 1.358 GB, free: 3.262 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.889, allocations: 4.156 kB / 1.358 GB, free: 3.258 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.8892, allocations: 35.86 kB / 1.358 GB, free: 3.223 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.8892, allocations: 0 / 1.358 GB, free: 3.223 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.8892, allocations: 15.84 kB / 1.358 GB, free: 3.207 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.8892, allocations: 4 kB / 1.358 GB, free: 3.203 MB / 1.076 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 8.038e-05/0.8893, allocations: 117.8 kB / 1.358 GB, free: 3.078 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.8894, allocations: 7.906 kB / 1.358 GB, free: 3.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.8896, allocations: 129.9 kB / 1.358 GB, free: 2.938 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.8896, allocations: 7.938 kB / 1.358 GB, free: 2.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.8896, allocations: 3.938 kB / 1.358 GB, free: 2.926 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8896, allocations: 0 / 1.358 GB, free: 2.926 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.8898, allocations: 185.5 kB / 1.358 GB, free: 2.695 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.8898, allocations: 0 / 1.358 GB, free: 2.695 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.8899, allocations: 15.98 kB / 1.358 GB, free: 2.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.8899, allocations: 0 / 1.358 GB, free: 2.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.8899, allocations: 4 kB / 1.358 GB, free: 2.676 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8899, allocations: 3.938 kB / 1.358 GB, free: 2.672 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8899, allocations: 4.25 kB / 1.358 GB, free: 2.668 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.8901, allocations: 203.5 kB / 1.358 GB, free: 2.453 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.8901, allocations: 93 kB / 1.358 GB, free: 2.344 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.8902, allocations: 8 kB / 1.358 GB, free: 2.336 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/0.8902, allocations: 11.92 kB / 1.358 GB, free: 2.324 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.8903, allocations: 7.984 kB / 1.358 GB, free: 2.316 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.8903, allocations: 0 / 1.358 GB, free: 2.316 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.533e-05/0.8903, allocations: 91.27 kB / 1.358 GB, free: 2.227 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8904, allocations: 4 kB / 1.358 GB, free: 2.223 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003459/0.8907, allocations: 71.94 kB / 1.359 GB, free: 2.152 MB / 1.076 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.0003221/0.891, allocations: 187.1 kB / 1.359 GB, free: 1.961 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.8912, allocations: 92.03 kB / 1.359 GB, free: 1.871 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8912, allocations: 0 / 1.359 GB, free: 1.871 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.8913, allocations: 35.97 kB / 1.359 GB, free: 1.836 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.8916, allocations: 12 kB / 1.359 GB, free: 1.824 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.8919, allocations: 174.7 kB / 1.359 GB, free: 1.633 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.8921, allocations: 0.6885 MB / 1.36 GB, free: 0.918 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.8923, allocations: 56.91 kB / 1.36 GB, free: 0.8594 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.8923, allocations: 19.42 kB / 1.36 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of SimCode: time 2.4e-07/0.8923, allocations: 0 / 1.36 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of Templates: time 0.004778/0.8971, allocations: 1.925 MB / 1.362 GB, free: 14.97 MB / 1.092 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