Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008134/0.0008135, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008664/0.0008664, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 443.2 MB / 0.7181 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 14.97 kB / 0.8801 GB, free: 42.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2898, allocations: 155.2 MB / 1.032 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1945/0.4843, allocations: 176.6 MB / 1.204 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01856/0.5029, allocations: 13.32 MB / 1.217 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.5047, allocations: 31.81 kB / 1.217 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.5063, allocations: 441.6 kB / 1.218 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006261/0.5126, allocations: 2.014 MB / 1.219 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.5155, allocations: 0.992 MB / 1.22 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004057/0.5196, allocations: 2.989 MB / 1.223 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.5207, allocations: 0.6681 MB / 1.224 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.5222, allocations: 0.731 MB / 1.225 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009928/0.5232, allocations: 0.6896 MB / 1.225 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.5233, allocations: 40 kB / 1.225 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004704/0.528, allocations: 2.265 MB / 1.228 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003486/0.5284, allocations: 282.8 kB / 1.228 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006902/0.5291, allocations: 0.5765 MB / 1.229 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.5321, allocations: 1.984 MB / 1.23 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5321, allocations: 0 / 1.23 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5321, allocations: 0 / 1.23 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.5322, allocations: 0 / 1.23 GB, free: 8.418 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.002781/0.5349, allocations: 1.572 MB / 1.232 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.535, allocations: 15.92 kB / 1.232 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008709/0.5359, allocations: 226.3 kB / 1.232 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.5377, allocations: 1.129 MB / 1.233 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.5377, allocations: 45.3 kB / 1.233 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.5379, allocations: 64 kB / 1.233 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.5393, allocations: 0.7714 MB / 1.234 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.5393, allocations: 0 / 1.234 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/0.5394, allocations: 24 kB / 1.234 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.5394, allocations: 16 kB / 1.234 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.5408, allocations: 0.7507 MB / 1.235 GB, free: 3.668 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004214/0.5451, allocations: 3.101 MB / 1.238 GB, free: 440 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.5466, allocations: 0.7635 MB / 1.239 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/0.5472, allocations: 345.9 kB / 1.239 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004067/0.5513, allocations: 3.62 MB / 1.243 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007292/0.552, allocations: 385.2 kB / 1.243 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.414e-06/0.5521, allocations: 4 kB / 1.243 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.005346/0.5574, allocations: 1.518 MB / 1.244 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.5575, allocations: 81.55 kB / 1.245 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.5591, allocations: 1.159 MB / 1.246 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.5592, allocations: 37.7 kB / 1.246 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.5596, allocations: 496.6 kB / 1.246 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.5598, allocations: 181.5 kB / 1.246 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.202e-05/0.5599, allocations: 65.67 kB / 1.246 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.56, allocations: 337.9 kB / 1.247 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000614/0.5606, allocations: 313.1 kB / 1.247 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000854/0.5615, allocations: 0.5913 MB / 1.248 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.5628, allocations: 0.7191 MB / 1.248 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5628, allocations: 3.938 kB / 1.248 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002148/0.565, allocations: 1.015 MB / 1.249 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.5651, allocations: 156.2 kB / 1.249 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5651, allocations: 4 kB / 1.249 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728/2.293, allocations: 193.5 MB / 1.438 GB, free: 51.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/2.294, allocations: 137.6 kB / 1.439 GB, free: 51.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/2.295, allocations: 1.282 MB / 1.44 GB, free: 50.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/2.296, allocations: 97.3 kB / 1.44 GB, free: 50.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/2.296, allocations: 34 kB / 1.44 GB, free: 50.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/2.296, allocations: 4 kB / 1.44 GB, free: 50.07 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001778/2.298, allocations: 0.8752 MB / 1.441 GB, free: 49.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/2.298, allocations: 8.188 kB / 1.441 GB, free: 49.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19/3.488, allocations: 193.5 MB / 1.63 GB, free: 15.8 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/3.488, allocations: 130.1 kB / 1.63 GB, free: 15.69 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/3.49, allocations: 1.283 MB / 1.631 GB, free: 14.45 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/3.491, allocations: 99.25 kB / 1.631 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/3.491, allocations: 34.48 kB / 1.631 GB, free: 14.36 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006883/3.492, allocations: 377.6 kB / 1.632 GB, free: 14.07 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/3.492, allocations: 110.3 kB / 1.632 GB, free: 14.02 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/3.494, allocations: 0.9556 MB / 1.633 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/3.494, allocations: 4 kB / 1.633 GB, free: 13.33 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/3.494, allocations: 0 / 1.633 GB, free: 13.33 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001626/3.496, allocations: 0.995 MB / 1.634 GB, free: 12.48 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/3.501, allocations: 2.105 MB / 1.636 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/3.501, allocations: 3.938 kB / 1.636 GB, free: 10.89 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/3.501, allocations: 83.81 kB / 1.636 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.237/4.738, allocations: 96.83 MB / 1.73 GB, free: 439.5 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/4.739, allocations: 17.36 kB / 1.73 GB, free: 439.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009981/4.74, allocations: 0.7483 MB / 1.731 GB, free: 438.9 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/4.74, allocations: 0 / 1.731 GB, free: 438.9 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/4.743, allocations: 1.51 MB / 1.733 GB, free: 438.6 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004406/4.744, allocations: 288.6 kB / 1.733 GB, free: 438.5 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/4.744, allocations: 23.08 kB / 1.733 GB, free: 438.5 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005682/4.744, allocations: 49.75 kB / 1.733 GB, free: 438.4 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/4.744, allocations: 44.16 kB / 1.733 GB, free: 438.4 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/4.744, allocations: 25.39 kB / 1.733 GB, free: 438.4 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009511/4.745, allocations: 0.8124 MB / 1.734 GB, free: 438.2 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.51e-07/4.745, allocations: 4 kB / 1.734 GB, free: 438.2 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001737/4.747, allocations: 0.7151 MB / 1.734 GB, free: 437.9 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (tow.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002005/4.749, allocations: 0.947 MB / 1.735 GB, free: 437.3 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002127/4.751, allocations: 1.211 MB / 1.737 GB, free: 436.5 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/4.751, allocations: 0 / 1.737 GB, free: 436.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005969/4.752, allocations: 370.7 kB / 1.737 GB, free: 436.2 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/4.754, allocations: 474.5 kB / 1.737 GB, free: 435.9 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/4.757, allocations: 2.41 MB / 1.74 GB, free: 433.6 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/4.757, allocations: 1.081 MB / 1.741 GB, free: 432.5 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/4.757, allocations: 102.6 kB / 1.741 GB, free: 432.4 MB / 1.217 GB Notification: Performance of SimCode: time 5.81e-07/4.757, allocations: 0 / 1.741 GB, free: 432.4 MB / 1.217 GB Notification: Performance of Templates: time 0.02864/4.786, allocations: 27.63 MB / 1.768 GB, free: 405.2 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches