Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.0009967/0.0009966, allocations: 92.39 kB / 16.02 MB, free: 80 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.001387/0.001387, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003689, allocations: 8 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7654/0.7658, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1945/0.9604, allocations: 176.6 MB / 1.196 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01972/0.9802, allocations: 13.31 MB / 1.209 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.9821, allocations: 27.81 kB / 1.209 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.984, allocations: 445.6 kB / 1.21 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007302/0.9914, allocations: 2.015 MB / 1.212 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003254/0.9947, allocations: 0.9859 MB / 1.213 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004318/0.999, allocations: 2.997 MB / 1.215 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/1, allocations: 0.6796 MB / 1.216 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/1.002, allocations: 0.727 MB / 1.217 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/1.004, allocations: 0.6881 MB / 1.217 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000315/1.004, allocations: 40 kB / 1.218 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005126/1.009, allocations: 2.259 MB / 1.22 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005507/1.01, allocations: 282.8 kB / 1.22 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/1.011, allocations: 0.5764 MB / 1.221 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003658/1.015, allocations: 1.98 MB / 1.223 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.015, allocations: 0 / 1.223 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.585e-06/1.015, allocations: 3.938 kB / 1.223 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.826e-05/1.015, allocations: 0 / 1.223 GB, free: 3.559 MB / 0.9669 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.003647/1.019, allocations: 1.569 MB / 1.224 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.019, allocations: 8.031 kB / 1.224 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/1.02, allocations: 234.3 kB / 1.224 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/1.022, allocations: 1.126 MB / 1.225 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/1.022, allocations: 49.31 kB / 1.225 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/1.023, allocations: 60 kB / 1.225 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/1.024, allocations: 0.7714 MB / 1.226 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.024, allocations: 4 kB / 1.226 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/1.024, allocations: 20 kB / 1.226 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/1.024, allocations: 16 kB / 1.226 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/1.026, allocations: 0.7585 MB / 1.227 GB, free: 14.81 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.005039/1.031, allocations: 3.097 MB / 1.23 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/1.032, allocations: 0.7628 MB / 1.231 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006312/1.033, allocations: 343.9 kB / 1.231 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00446/1.038, allocations: 3.612 MB / 1.235 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007835/1.038, allocations: 389.2 kB / 1.235 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=52): time 2.916e-06/1.038, allocations: 4 kB / 1.235 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=52): time 0.005486/1.044, allocations: 1.507 MB / 1.236 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/1.044, allocations: 85.55 kB / 1.237 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/1.046, allocations: 1.159 MB / 1.238 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.27e-05/1.046, allocations: 41.69 kB / 1.238 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/1.046, allocations: 0.4888 MB / 1.238 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/1.047, allocations: 181.4 kB / 1.238 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.047, allocations: 61.69 kB / 1.238 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.047, allocations: 341.9 kB / 1.239 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006583/1.048, allocations: 313.1 kB / 1.239 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009021/1.048, allocations: 0.5951 MB / 1.24 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/1.05, allocations: 0.7229 MB / 1.24 GB, free: 256 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.05, allocations: 0 / 1.24 GB, free: 256 kB / 0.9825 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002277/1.052, allocations: 1.007 MB / 1.241 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.052, allocations: 172.2 kB / 1.242 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.052, allocations: 0 / 1.242 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745/2.797, allocations: 193.5 MB / 1.43 GB, free: 71.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/2.798, allocations: 128.4 kB / 1.431 GB, free: 71.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/2.799, allocations: 1.291 MB / 1.432 GB, free: 69.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/2.801, allocations: 95.95 kB / 1.432 GB, free: 69.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/2.801, allocations: 29.19 kB / 1.432 GB, free: 69.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/2.801, allocations: 0 / 1.432 GB, free: 69.71 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001929/2.803, allocations: 0.8806 MB / 1.433 GB, free: 69.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/2.803, allocations: 4 kB / 1.433 GB, free: 69.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194/3.997, allocations: 193.5 MB / 1.622 GB, free: 3.449 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/3.998, allocations: 127.1 kB / 1.622 GB, free: 3.328 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/3.999, allocations: 1.285 MB / 1.623 GB, free: 2.082 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/4, allocations: 97.44 kB / 1.623 GB, free: 2.012 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/4, allocations: 35.98 kB / 1.623 GB, free: 1.977 MB / 1.123 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.0006889/4.001, allocations: 376.8 kB / 1.624 GB, free: 1.602 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/4.001, allocations: 112.5 kB / 1.624 GB, free: 1.547 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/4.004, allocations: 0.9554 MB / 1.625 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/4.004, allocations: 4 kB / 1.625 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/4.004, allocations: 4 kB / 1.625 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001608/4.005, allocations: 0.9944 MB / 1.626 GB, free: 15.52 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004699/4.01, allocations: 2.103 MB / 1.628 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/4.01, allocations: 0 / 1.628 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/4.01, allocations: 79.91 kB / 1.628 GB, free: 13.31 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233/5.243, allocations: 96.83 MB / 1.722 GB, free: 453.5 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/5.243, allocations: 17.36 kB / 1.722 GB, free: 453.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/5.244, allocations: 0.7423 MB / 1.723 GB, free: 453 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/5.245, allocations: 1.453 kB / 1.723 GB, free: 453 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005016/5.25, allocations: 1.516 MB / 1.725 GB, free: 452.8 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009509/5.251, allocations: 292.6 kB / 1.725 GB, free: 452.7 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/5.251, allocations: 13.8 kB / 1.725 GB, free: 452.7 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/5.252, allocations: 49 kB / 1.725 GB, free: 452.7 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/5.252, allocations: 39.72 kB / 1.725 GB, free: 452.7 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/5.252, allocations: 25.77 kB / 1.725 GB, free: 452.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00216/5.254, allocations: 0.8137 MB / 1.726 GB, free: 452.3 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.81e-07/5.254, allocations: 0.5 kB / 1.726 GB, free: 452.3 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003281/5.258, allocations: 0.7172 MB / 1.727 GB, free: 452.3 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.002912/5.26, allocations: 0.9459 MB / 1.727 GB, free: 452.1 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00299/5.263, allocations: 1.212 MB / 1.729 GB, free: 451.7 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/5.263, allocations: 1.031 kB / 1.729 GB, free: 451.7 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0008156/5.264, allocations: 373.1 kB / 1.729 GB, free: 451.6 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/5.267, allocations: 471.4 kB / 1.729 GB, free: 451.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004146/5.272, allocations: 2.409 MB / 1.732 GB, free: 450.1 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008648/5.272, allocations: 1.087 MB / 1.733 GB, free: 449.3 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/5.273, allocations: 105.6 kB / 1.733 GB, free: 449.3 MB / 1.217 GB Notification: Performance of SimCode: time 9.41e-07/5.273, allocations: 0 / 1.733 GB, free: 449.3 MB / 1.217 GB Notification: Performance of Templates: time 0.03874/5.311, allocations: 27.63 MB / 1.76 GB, free: 430.7 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches