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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001186/0.001186, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009129/0.009129, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 462.6 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 10.25 kB / 0.9028 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2898, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1879/0.4777, allocations: 176.6 MB / 1.231 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.4972, allocations: 13.31 MB / 1.244 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.4987, allocations: 27.81 kB / 1.244 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.5003, allocations: 445.6 kB / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006496/0.5068, allocations: 2.013 MB / 1.247 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.5099, allocations: 0.9913 MB / 1.248 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004135/0.5141, allocations: 2.992 MB / 1.25 GB, free: 444 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5524/1.066, allocations: 0.6622 MB / 1.251 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/1.068, allocations: 0.7298 MB / 1.252 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/1.069, allocations: 0.6806 MB / 1.252 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/1.069, allocations: 39.12 kB / 1.252 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003986/1.073, allocations: 2.272 MB / 1.255 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002889/1.074, allocations: 288.8 kB / 1.255 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005498/1.074, allocations: 0.5761 MB / 1.256 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003921/1.078, allocations: 2.645 MB / 1.258 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.078, allocations: 4.438 kB / 1.258 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.525e-06/1.078, allocations: 0 / 1.258 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.851e-05/1.078, allocations: 3.094 kB / 1.258 GB, free: 13.19 MB / 0.9981 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.002605/1.081, allocations: 1.569 MB / 1.26 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/1.081, allocations: 8.906 kB / 1.26 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/1.082, allocations: 230.7 kB / 1.26 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/1.083, allocations: 1.117 MB / 1.261 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/1.084, allocations: 50.59 kB / 1.261 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/1.084, allocations: 63.62 kB / 1.261 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/1.085, allocations: 0.7699 MB / 1.262 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/1.085, allocations: 0 / 1.262 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/1.085, allocations: 28.28 kB / 1.262 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/1.085, allocations: 18.44 kB / 1.262 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/1.086, allocations: 0.7511 MB / 1.263 GB, free: 11.66 MB / 0.9981 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.003765/1.09, allocations: 3.096 MB / 1.266 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/1.092, allocations: 0.7731 MB / 1.266 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006502/1.092, allocations: 337.9 kB / 1.267 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003559/1.096, allocations: 3.622 MB / 1.27 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000827/1.097, allocations: 385.9 kB / 1.271 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.234e-06/1.097, allocations: 0.7188 kB / 1.271 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.00569/1.102, allocations: 1.511 MB / 1.272 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/1.103, allocations: 84.88 kB / 1.272 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/1.104, allocations: 1.16 MB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.533e-05/1.104, allocations: 43.36 kB / 1.273 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/1.105, allocations: 497.7 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/1.105, allocations: 184.7 kB / 1.274 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/1.105, allocations: 61.62 kB / 1.274 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.634e-05/1.105, allocations: 332.4 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007205/1.106, allocations: 315.6 kB / 1.275 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.107, allocations: 0.5974 MB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/1.108, allocations: 0.7147 MB / 1.276 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/1.108, allocations: 0.7812 kB / 1.276 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002115/1.111, allocations: 1.01 MB / 1.277 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/1.111, allocations: 162.5 kB / 1.277 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.111, allocations: 3.25 kB / 1.277 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226/2.336, allocations: 193.6 MB / 1.466 GB, free: 188 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/2.337, allocations: 128.4 kB / 1.466 GB, free: 72 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/2.339, allocations: 1.291 MB / 1.468 GB, free: 14.82 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/2.34, allocations: 97.83 kB / 1.468 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/2.34, allocations: 33.11 kB / 1.468 GB, free: 14.71 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/2.34, allocations: 5.562 kB / 1.468 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001866/2.342, allocations: 0.8781 MB / 1.469 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/2.342, allocations: 7.938 kB / 1.469 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295/3.637, allocations: 193.5 MB / 1.658 GB, free: 12.43 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/3.638, allocations: 131.8 kB / 1.658 GB, free: 12.32 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/3.639, allocations: 1.281 MB / 1.659 GB, free: 11.07 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/3.641, allocations: 98.75 kB / 1.659 GB, free: 10.98 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/3.641, allocations: 34.42 kB / 1.659 GB, free: 10.96 MB / 1.342 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.0007856/3.641, allocations: 381.6 kB / 1.659 GB, free: 10.66 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/3.642, allocations: 106.7 kB / 1.659 GB, free: 10.56 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/3.644, allocations: 0.9552 MB / 1.66 GB, free: 9.871 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/3.644, allocations: 7.938 kB / 1.66 GB, free: 9.863 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/3.644, allocations: 0 / 1.66 GB, free: 9.863 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/3.646, allocations: 0.9938 MB / 1.661 GB, free: 9.012 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/3.651, allocations: 2.105 MB / 1.663 GB, free: 7.422 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/3.651, allocations: 4.969 kB / 1.663 GB, free: 7.418 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/3.651, allocations: 85.8 kB / 1.664 GB, free: 7.344 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6256/4.277, allocations: 96.83 MB / 1.758 GB, free: 6.441 MB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/4.277, allocations: 23.55 kB / 1.758 GB, free: 6.426 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/4.278, allocations: 0.7415 MB / 1.759 GB, free: 5.734 MB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/4.278, allocations: 0 / 1.759 GB, free: 5.734 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004168/4.282, allocations: 1.514 MB / 1.76 GB, free: 4.57 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007621/4.283, allocations: 291.3 kB / 1.761 GB, free: 4.32 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/4.284, allocations: 15.69 kB / 1.761 GB, free: 4.312 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008602/4.284, allocations: 57.45 kB / 1.761 GB, free: 4.266 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/4.285, allocations: 42.67 kB / 1.761 GB, free: 4.23 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.871e-05/4.285, allocations: 26.55 kB / 1.761 GB, free: 4.211 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.001423/4.286, allocations: 0.8127 MB / 1.762 GB, free: 3.605 MB / 1.436 GB Notification: Performance of sort global known variables: time 2.91e-07/4.286, allocations: 0 / 1.762 GB, free: 3.605 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.002796/4.289, allocations: 0.714 MB / 1.762 GB, free: 2.945 MB / 1.436 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.002888/4.292, allocations: 0.9367 MB / 1.763 GB, free: 2.273 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.002864/4.295, allocations: 1.211 MB / 1.764 GB, free: 1.422 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/4.295, allocations: 0 / 1.764 GB, free: 1.422 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.0008219/4.296, allocations: 373.4 kB / 1.765 GB, free: 1.172 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/4.299, allocations: 482.3 kB / 1.765 GB, free: 0.7891 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5153/4.814, allocations: 2.394 MB / 1.767 GB, free: 0.6234 GB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/4.815, allocations: 1.099 MB / 1.769 GB, free: 0.6227 GB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.001201/4.816, allocations: 261.3 kB / 1.769 GB, free: 0.6227 GB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/4.816, allocations: 94.31 kB / 1.769 GB, free: 0.6227 GB / 1.436 GB Notification: Performance of SimCode: time 8.81e-07/4.816, allocations: 2.469 kB / 1.769 GB, free: 0.6227 GB / 1.436 GB Notification: Performance of Templates: time 0.05332/4.87, allocations: 26.32 MB / 1.795 GB, free: 0.6145 GB / 1.436 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/jenkins/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