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.001626/0.001626, allocations: 108.4 kB / 16.37 MB, free: 6.465 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.001816/0.001816, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.156/2.156, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.16 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2175, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.002223/0.2198, allocations: 1.338 MB / 0.9525 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.5526/0.7724, allocations: 147.9 MB / 1.097 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.7724, allocations: 4 kB / 1.097 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.7725, allocations: 4.734 kB / 1.097 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.7726, allocations: 45.78 kB / 1.097 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009953/0.7737, allocations: 352.8 kB / 1.097 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.7738, allocations: 66.08 kB / 1.097 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.7738, allocations: 5.547 kB / 1.097 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.7739, allocations: 35.39 kB / 1.097 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.774, allocations: 52.64 kB / 1.097 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.774, allocations: 4.406 kB / 1.097 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008168/0.7748, allocations: 411.6 kB / 1.098 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.7749, allocations: 27.84 kB / 1.098 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.775, allocations: 26.3 kB / 1.098 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.7754, allocations: 274.3 kB / 1.098 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7754, allocations: 0.7812 kB / 1.098 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7755, allocations: 4 kB / 1.098 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.7755, allocations: 0 / 1.098 GB, free: 5.465 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.0005032/0.776, allocations: 396.3 kB / 1.098 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.776, allocations: 9.906 kB / 1.098 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.7761, allocations: 7.594 kB / 1.098 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.7762, allocations: 169.3 kB / 1.099 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.7762, allocations: 3.062 kB / 1.099 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.7762, allocations: 9.047 kB / 1.099 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.7764, allocations: 95.89 kB / 1.099 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.7764, allocations: 0.875 kB / 1.099 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.7764, allocations: 0 / 1.099 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/0.7765, allocations: 15.86 kB / 1.099 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.7766, allocations: 80.53 kB / 1.099 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.7771, allocations: 337 kB / 1.099 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.7773, allocations: 102 kB / 1.099 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.7774, allocations: 53.72 kB / 1.099 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008768/0.7783, allocations: 470.8 kB / 1.1 GB, free: 20.06 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.7783, allocations: 36.55 kB / 1.1 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.7783, allocations: 1.203 kB / 1.1 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0002716/0.7786, allocations: 125.2 kB / 1.1 GB, free: 19.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.7787, allocations: 58.78 kB / 1.1 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/0.7788, allocations: 119.5 kB / 1.1 GB, free: 19.81 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.7788, allocations: 26.77 kB / 1.1 GB, free: 19.78 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.7788, allocations: 98.06 kB / 1.1 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.7789, allocations: 39.3 kB / 1.1 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.7789, allocations: 30.81 kB / 1.1 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.779, allocations: 321.7 kB / 1.101 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.757e-05/0.7791, allocations: 33.89 kB / 1.101 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.7792, allocations: 70.44 kB / 1.101 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.7793, allocations: 115.4 kB / 1.101 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7793, allocations: 0.9688 kB / 1.101 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002194/0.7796, allocations: 145.9 kB / 1.101 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7796, allocations: 7.406 kB / 1.101 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.7796, allocations: 1.938 kB / 1.101 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7796, allocations: 6.641 kB / 1.101 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.7797, allocations: 32.09 kB / 1.101 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7798, allocations: 6.188 kB / 1.101 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.7798, allocations: 11.77 kB / 1.101 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.7798, allocations: 5 kB / 1.101 GB, free: 19.18 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.339e-05/0.7799, allocations: 127.2 kB / 1.101 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.78, allocations: 3.734 kB / 1.101 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.7802, allocations: 129.3 kB / 1.101 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7802, allocations: 9.031 kB / 1.101 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7802, allocations: 0 / 1.101 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7802, allocations: 1.766 kB / 1.101 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.7804, allocations: 183.9 kB / 1.101 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7804, allocations: 0 / 1.101 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.7805, allocations: 19.34 kB / 1.101 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7805, allocations: 0.9375 kB / 1.101 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.7805, allocations: 1.438 kB / 1.101 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.7805, allocations: 6.5 kB / 1.101 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7806, allocations: 1.531 kB / 1.101 GB, free: 18.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.7807, allocations: 200 kB / 1.102 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.7808, allocations: 94.47 kB / 1.102 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.7808, allocations: 1.297 kB / 1.102 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.645e-05/0.7809, allocations: 8.25 kB / 1.102 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.7809, allocations: 7.672 kB / 1.102 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.7809, allocations: 3.141 kB / 1.102 GB, free: 18.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.781, allocations: 91.14 kB / 1.102 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.781, allocations: 0 / 1.102 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003873/0.7814, allocations: 75.55 kB / 1.102 GB, free: 18.49 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.0003313/0.7817, allocations: 186.8 kB / 1.102 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.7819, allocations: 87.97 kB / 1.102 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7819, allocations: 1.156 kB / 1.102 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.782, allocations: 43.28 kB / 1.102 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.7822, allocations: 14.69 kB / 1.102 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.7826, allocations: 179.1 kB / 1.102 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.7829, allocations: 0.6935 MB / 1.103 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.783, allocations: 54.34 kB / 1.103 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.783, allocations: 13.77 kB / 1.103 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.783, allocations: 0 / 1.103 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.005407/0.7884, allocations: 1.901 MB / 1.105 GB, free: 17.4 MB / 0.8731 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 -s gbode -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/jenkins1/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