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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001008/0.001008, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.00115/0.00115, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003564, allocations: 16 kB / 0.8154 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6674/0.6678, allocations: 142.4 MB / 0.9545 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001192/0.669, allocations: 1.042 MB / 0.9555 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1409/0.8099, allocations: 134.3 MB / 1.087 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.81, allocations: 0 / 1.087 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.81, allocations: 4 kB / 1.087 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.8102, allocations: 47.86 kB / 1.087 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.8114, allocations: 258.9 kB / 1.087 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.8115, allocations: 143.6 kB / 1.087 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.8116, allocations: 0 / 1.087 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.8116, allocations: 31.97 kB / 1.087 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.8118, allocations: 55.88 kB / 1.087 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.8118, allocations: 4 kB / 1.087 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007636/0.8126, allocations: 303.3 kB / 1.087 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.8126, allocations: 23.97 kB / 1.087 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.8127, allocations: 37.64 kB / 1.087 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.8131, allocations: 177.7 kB / 1.088 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8131, allocations: 0 / 1.088 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8131, allocations: 0 / 1.088 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.8131, allocations: 0 / 1.088 GB, free: 6.719 MB / 0.8419 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.0004549/0.8136, allocations: 391.1 kB / 1.088 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8136, allocations: 12.03 kB / 1.088 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.8137, allocations: 3.906 kB / 1.088 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.8138, allocations: 163.1 kB / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.8138, allocations: 0 / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.8138, allocations: 4 kB / 1.088 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.814, allocations: 101.5 kB / 1.088 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.814, allocations: 0 / 1.088 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.8141, allocations: 11.95 kB / 1.088 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.405e-05/0.8141, allocations: 11.98 kB / 1.088 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.8142, allocations: 79.95 kB / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.8148, allocations: 332.7 kB / 1.089 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.815, allocations: 106.5 kB / 1.089 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.8151, allocations: 48.91 kB / 1.089 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009015/0.816, allocations: 485.4 kB / 1.089 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.816, allocations: 42.5 kB / 1.089 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.472e-06/0.816, allocations: 3.938 kB / 1.089 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0002967/0.8163, allocations: 117.6 kB / 1.089 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.8164, allocations: 55.44 kB / 1.09 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.8165, allocations: 117.9 kB / 1.09 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.8165, allocations: 25.7 kB / 1.09 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.8166, allocations: 96.19 kB / 1.09 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.8166, allocations: 39.39 kB / 1.09 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.8166, allocations: 0 / 1.09 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8168, allocations: 326.8 kB / 1.09 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.8168, allocations: 27.98 kB / 1.09 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.8169, allocations: 69.12 kB / 1.09 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.817, allocations: 47.92 kB / 1.09 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.817, allocations: 0 / 1.09 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002456/0.8173, allocations: 137.5 kB / 1.09 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.8173, allocations: 5.25 kB / 1.09 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8173, allocations: 0 / 1.09 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.8173, allocations: 4 kB / 1.09 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.8174, allocations: 27.92 kB / 1.09 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.8175, allocations: 4 kB / 1.09 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.8175, allocations: 20 kB / 1.09 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.8175, allocations: 4 kB / 1.09 GB, free: 3.531 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.8177, allocations: 125.8 kB / 1.091 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.8177, allocations: 11.86 kB / 1.091 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.818, allocations: 122.5 kB / 1.091 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.818, allocations: 0 / 1.091 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.818, allocations: 4 kB / 1.091 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.818, allocations: 7.984 kB / 1.091 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.8182, allocations: 177.6 kB / 1.091 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.8182, allocations: 3.984 kB / 1.091 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.8183, allocations: 19.94 kB / 1.091 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.8183, allocations: 3.953 kB / 1.091 GB, free: 3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.8183, allocations: 4 kB / 1.091 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8183, allocations: 0 / 1.091 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.8184, allocations: 4 kB / 1.091 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.8186, allocations: 203.3 kB / 1.091 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.8187, allocations: 93.28 kB / 1.091 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.8187, allocations: 7.953 kB / 1.091 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.8188, allocations: 4 kB / 1.091 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.8188, allocations: 4 kB / 1.091 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.8188, allocations: 7.984 kB / 1.091 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.379e-05/0.8189, allocations: 87.28 kB / 1.091 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.516e-06/0.8189, allocations: 0 / 1.091 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004303/0.8193, allocations: 83.8 kB / 1.091 GB, free: 2.477 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004327/0.8197, allocations: 190.9 kB / 1.092 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.82, allocations: 83.83 kB / 1.092 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.82, allocations: 0 / 1.092 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.784e-05/0.8201, allocations: 36.23 kB / 1.092 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.8204, allocations: 23.98 kB / 1.092 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.8209, allocations: 187.9 kB / 1.092 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.8212, allocations: 0.6926 MB / 1.093 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.8214, allocations: 52.44 kB / 1.093 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.8214, allocations: 19.38 kB / 1.093 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.8214, allocations: 0 / 1.093 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of Templates: time 0.005908/0.8274, allocations: 1.836 MB / 1.094 GB, free: 15.35 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