Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001523/0.001522, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001693/0.001693, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.38/2.38, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.66 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2647, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002186/0.2669, allocations: 1.346 MB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.614/0.8809, allocations: 147.9 MB / 1.165 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.881, allocations: 0 / 1.165 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.8811, allocations: 6.281 kB / 1.165 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.8813, allocations: 46.92 kB / 1.165 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.8825, allocations: 350.2 kB / 1.165 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.8826, allocations: 75.61 kB / 1.165 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.8827, allocations: 4.328 kB / 1.165 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.8827, allocations: 26.98 kB / 1.165 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.8829, allocations: 51.88 kB / 1.165 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.8829, allocations: 6.25 kB / 1.165 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009639/0.8839, allocations: 412.4 kB / 1.165 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.8839, allocations: 26.03 kB / 1.165 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.884, allocations: 25.8 kB / 1.165 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000637/0.8846, allocations: 274.7 kB / 1.166 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.8847, allocations: 1.25 kB / 1.166 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8847, allocations: 0 / 1.166 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.8847, allocations: 0 / 1.166 GB, free: 4.441 MB / 0.8731 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.0005265/0.8852, allocations: 403.1 kB / 1.166 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.8853, allocations: 18.69 kB / 1.166 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.8853, allocations: 7.625 kB / 1.166 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.8854, allocations: 169.2 kB / 1.166 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.8855, allocations: 4.844 kB / 1.166 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.8855, allocations: 7.312 kB / 1.166 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.8857, allocations: 88.34 kB / 1.166 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.8857, allocations: 0 / 1.166 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.8857, allocations: 0 / 1.166 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/0.8858, allocations: 15.8 kB / 1.166 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.8859, allocations: 84.84 kB / 1.167 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.8864, allocations: 335.9 kB / 1.167 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.8866, allocations: 103.4 kB / 1.167 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.405e-05/0.8867, allocations: 53.41 kB / 1.167 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008753/0.8876, allocations: 475.6 kB / 1.167 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.8876, allocations: 31.69 kB / 1.167 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.8877, allocations: 3.469 kB / 1.167 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0002673/0.8879, allocations: 125 kB / 1.168 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.888, allocations: 59.48 kB / 1.168 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/0.8881, allocations: 112.4 kB / 1.168 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.8881, allocations: 26.86 kB / 1.168 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.8881, allocations: 100.7 kB / 1.168 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.8882, allocations: 45.17 kB / 1.168 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.8882, allocations: 32.14 kB / 1.168 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.8883, allocations: 318.2 kB / 1.168 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.8884, allocations: 28.45 kB / 1.168 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.8885, allocations: 79.17 kB / 1.168 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.8887, allocations: 113.6 kB / 1.168 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8887, allocations: 1.094 kB / 1.168 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002053/0.8889, allocations: 142.2 kB / 1.169 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.8889, allocations: 6.156 kB / 1.169 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.8889, allocations: 1.125 kB / 1.169 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.8889, allocations: 2.406 kB / 1.169 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.889, allocations: 27.55 kB / 1.169 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.8891, allocations: 9.969 kB / 1.169 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.8891, allocations: 11.28 kB / 1.169 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.8891, allocations: 8.719 kB / 1.169 GB, free: 1.91 MB / 0.8731 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.943e-05/0.8892, allocations: 128.8 kB / 1.169 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.8893, allocations: 3.469 kB / 1.169 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.8895, allocations: 119.7 kB / 1.169 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.8895, allocations: 3.344 kB / 1.169 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.8895, allocations: 7.875 kB / 1.169 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8896, allocations: 1.125 kB / 1.169 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.8898, allocations: 175.2 kB / 1.169 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8898, allocations: 0 / 1.169 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.8898, allocations: 24.95 kB / 1.169 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.8898, allocations: 1.031 kB / 1.169 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.8899, allocations: 6.656 kB / 1.169 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.8899, allocations: 0 / 1.169 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8899, allocations: 5.031 kB / 1.169 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.8901, allocations: 196.7 kB / 1.169 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/0.8902, allocations: 95.55 kB / 1.169 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.8902, allocations: 5.219 kB / 1.169 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.522e-05/0.8903, allocations: 7.938 kB / 1.169 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.8903, allocations: 13.64 kB / 1.169 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.8903, allocations: 2.75 kB / 1.169 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.8903, allocations: 85.62 kB / 1.17 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8903, allocations: 0 / 1.17 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004257/0.8908, allocations: 79.78 kB / 1.17 GB, free: 1.141 MB / 0.8731 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.0004163/0.8912, allocations: 189.9 kB / 1.17 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.8914, allocations: 82.42 kB / 1.17 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8914, allocations: 0 / 1.17 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.8915, allocations: 41.12 kB / 1.17 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.8917, allocations: 15.73 kB / 1.17 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.8921, allocations: 186.8 kB / 1.17 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.8924, allocations: 0.6907 MB / 1.171 GB, free: 160 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.8925, allocations: 54.67 kB / 1.171 GB, free: 152 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.8925, allocations: 12.59 kB / 1.171 GB, free: 144 kB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8925, allocations: 1.344 kB / 1.171 GB, free: 144 kB / 0.8731 GB Notification: Performance of Templates: time 0.00487/0.8974, allocations: 1.908 MB / 1.173 GB, free: 15.95 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches