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.001117/0.001117, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00116/0.001161, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.351/1.351, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.385/2.385, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.89 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6781/0.6795, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002318/0.6819, allocations: 1.398 MB / 0.9505 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1946/0.8765, allocations: 145.7 MB / 1.093 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.8765, allocations: 0 / 1.093 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.934e-05/0.8766, allocations: 3.938 kB / 1.093 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.8769, allocations: 35.94 kB / 1.093 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.8785, allocations: 338.8 kB / 1.093 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.8786, allocations: 63.83 kB / 1.093 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.8787, allocations: 0 / 1.093 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.847e-05/0.8788, allocations: 39.89 kB / 1.093 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.8789, allocations: 59.94 kB / 1.093 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.879, allocations: 0 / 1.093 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.8801, allocations: 415.1 kB / 1.094 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.8802, allocations: 23.91 kB / 1.094 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.8803, allocations: 35.86 kB / 1.094 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007226/0.881, allocations: 289.3 kB / 1.094 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.881, allocations: 4 kB / 1.094 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.881, allocations: 0 / 1.094 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8811, allocations: 0 / 1.094 GB, free: 13.15 MB / 0.8575 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.0005307/0.8816, allocations: 399.3 kB / 1.094 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.8816, allocations: 8.031 kB / 1.094 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.8817, allocations: 8.844 kB / 1.094 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.8818, allocations: 167.8 kB / 1.095 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.8819, allocations: 15.94 kB / 1.095 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.8819, allocations: 0 / 1.095 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.8821, allocations: 97.53 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8822, allocations: 0 / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.8822, allocations: 3.984 kB / 1.095 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/0.8822, allocations: 8 kB / 1.095 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.8825, allocations: 79.95 kB / 1.095 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.8831, allocations: 340.7 kB / 1.095 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.8833, allocations: 106.5 kB / 1.095 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.8835, allocations: 52.83 kB / 1.095 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.8847, allocations: 465.4 kB / 1.096 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.8848, allocations: 34.56 kB / 1.096 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.8848, allocations: 4 kB / 1.096 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003647/0.8852, allocations: 137.4 kB / 1.096 GB, free: 11 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.8852, allocations: 51.41 kB / 1.096 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.8853, allocations: 113.9 kB / 1.096 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.8854, allocations: 25.7 kB / 1.096 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.8854, allocations: 100.2 kB / 1.096 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.8855, allocations: 43.38 kB / 1.096 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.8856, allocations: 33.72 kB / 1.096 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8857, allocations: 322.8 kB / 1.097 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.8858, allocations: 27.98 kB / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.886, allocations: 70.81 kB / 1.097 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.8862, allocations: 117.1 kB / 1.097 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8862, allocations: 0 / 1.097 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003344/0.8866, allocations: 141.4 kB / 1.097 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.8866, allocations: 7.938 kB / 1.097 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.8866, allocations: 4.094 kB / 1.097 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.8867, allocations: 8.25 kB / 1.097 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.8868, allocations: 23.98 kB / 1.097 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.8869, allocations: 8 kB / 1.097 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.004e-05/0.887, allocations: 11.84 kB / 1.097 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.887, allocations: 8 kB / 1.097 GB, free: 9.816 MB / 0.8575 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.0001213/0.8871, allocations: 125.8 kB / 1.097 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.8872, allocations: 4 kB / 1.097 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.8876, allocations: 126.4 kB / 1.097 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8876, allocations: 0 / 1.097 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8876, allocations: 3.938 kB / 1.097 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.8876, allocations: 7.984 kB / 1.097 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.8879, allocations: 169.7 kB / 1.097 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.8879, allocations: 3.938 kB / 1.097 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.888, allocations: 27.92 kB / 1.097 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.8881, allocations: 0 / 1.097 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.8881, allocations: 3.938 kB / 1.097 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.8881, allocations: 8 kB / 1.097 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8881, allocations: 0 / 1.097 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.8884, allocations: 195.4 kB / 1.098 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.8885, allocations: 93.09 kB / 1.098 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.8885, allocations: 3.938 kB / 1.098 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.8886, allocations: 0 / 1.098 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.8887, allocations: 11.94 kB / 1.098 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.8887, allocations: 11.98 kB / 1.098 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.777e-05/0.8888, allocations: 87.22 kB / 1.098 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8888, allocations: 0 / 1.098 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006152/0.8894, allocations: 79.92 kB / 1.098 GB, free: 8.773 MB / 0.8575 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.0005/0.8899, allocations: 179.1 kB / 1.098 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.8902, allocations: 99.89 kB / 1.098 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8902, allocations: 0 / 1.098 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.8903, allocations: 35.92 kB / 1.098 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.8908, allocations: 17.59 kB / 1.098 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.8913, allocations: 199 kB / 1.098 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.8917, allocations: 0.7001 MB / 1.099 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.8918, allocations: 53.09 kB / 1.099 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.8918, allocations: 15.44 kB / 1.099 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.8918, allocations: 0 / 1.099 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of Templates: time 0.004459/0.8963, allocations: 1.896 MB / 1.101 GB, free: 5.582 MB / 0.8575 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