Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.0009524/0.0009524, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001119/0.001119, allocations: 168.7 kB / 15.95 MB, free: 204 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.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.402 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.41/2.41, allocations: 390.9 MB / 0.666 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003154, allocations: 15.98 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.6754, allocations: 142.4 MB / 0.9544 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1772/0.8526, allocations: 165.1 MB / 1.116 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.8708, allocations: 12.43 MB / 1.128 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.8727, allocations: 27.81 kB / 1.128 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.8742, allocations: 373.7 kB / 1.128 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006281/0.8805, allocations: 1.739 MB / 1.13 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.8834, allocations: 0.8556 MB / 1.131 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00387/0.8872, allocations: 2.61 MB / 1.133 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.8884, allocations: 0.6139 MB / 1.134 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.8898, allocations: 0.7194 MB / 1.135 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.8909, allocations: 0.6494 MB / 1.135 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.891, allocations: 36 kB / 1.135 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/0.895, allocations: 1.782 MB / 1.137 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.8953, allocations: 278.9 kB / 1.137 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.8957, allocations: 245.1 kB / 1.137 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.8984, allocations: 1.921 MB / 1.139 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8985, allocations: 0 / 1.139 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8985, allocations: 0 / 1.139 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.8985, allocations: 0 / 1.139 GB, free: 1.699 MB / 0.8887 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/0.9011, allocations: 1.58 MB / 1.141 GB, free: 56 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.9011, allocations: 8.031 kB / 1.141 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008358/0.902, allocations: 226.3 kB / 1.141 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.9037, allocations: 1.087 MB / 1.142 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.9038, allocations: 49.31 kB / 1.142 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.9039, allocations: 63.94 kB / 1.142 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.9053, allocations: 0.7598 MB / 1.143 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.9053, allocations: 7.875 kB / 1.143 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.9054, allocations: 28 kB / 1.143 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.9054, allocations: 12 kB / 1.143 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.9069, allocations: 0.7507 MB / 1.144 GB, free: 12.99 MB / 0.9044 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.004137/0.911, allocations: 3.093 MB / 1.147 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.9125, allocations: 0.7671 MB / 1.148 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.9131, allocations: 338 kB / 1.148 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004089/0.9172, allocations: 3.612 MB / 1.151 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007451/0.9179, allocations: 385.3 kB / 1.152 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 2.375e-06/0.9179, allocations: 0 / 1.152 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.004732/0.9227, allocations: 1.511 MB / 1.153 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.9228, allocations: 81.55 kB / 1.153 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.9243, allocations: 1.152 MB / 1.154 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.9243, allocations: 45.64 kB / 1.155 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000433/0.9248, allocations: 0.4888 MB / 1.155 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.9249, allocations: 177.5 kB / 1.155 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.925, allocations: 16 kB / 1.155 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9251, allocations: 330 kB / 1.155 GB, free: 220 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005999/0.9257, allocations: 309.2 kB / 1.156 GB, free: 15.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008237/0.9265, allocations: 0.5912 MB / 1.156 GB, free: 15.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/0.9272, allocations: 358.1 kB / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.9272, allocations: 0 / 1.157 GB, free: 14.92 MB / 0.92 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001995/0.9292, allocations: 0.999 MB / 1.158 GB, free: 13.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.9294, allocations: 170.6 kB / 1.158 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.9294, allocations: 4 kB / 1.158 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53/2.459, allocations: 193.5 MB / 1.347 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/2.46, allocations: 130.1 kB / 1.347 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/2.461, allocations: 1.288 MB / 1.348 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/2.462, allocations: 100.5 kB / 1.348 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/2.462, allocations: 29.25 kB / 1.348 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/2.462, allocations: 4 kB / 1.348 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001901/2.464, allocations: 0.8778 MB / 1.349 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/2.464, allocations: 4 kB / 1.349 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9928/3.457, allocations: 193.5 MB / 1.538 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/3.458, allocations: 127.6 kB / 1.538 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/3.459, allocations: 1.286 MB / 1.54 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009906/3.46, allocations: 86.42 kB / 1.54 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/3.46, allocations: 35.98 kB / 1.54 GB, free: 8.055 MB / 0.9981 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 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006061/3.461, allocations: 374.3 kB / 1.54 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/3.461, allocations: 116.7 kB / 1.54 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/3.463, allocations: 0.9545 MB / 1.541 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/3.463, allocations: 12 kB / 1.541 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/3.463, allocations: 0 / 1.541 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001314/3.464, allocations: 0.989 MB / 1.542 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/3.468, allocations: 2.099 MB / 1.544 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/3.468, allocations: 2.625 kB / 1.544 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/3.469, allocations: 83.86 kB / 1.544 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5339/4.003, allocations: 96.84 MB / 1.639 GB, free: 2.438 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/4.003, allocations: 13.75 kB / 1.639 GB, free: 2.426 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/4.004, allocations: 0.7513 MB / 1.64 GB, free: 1.652 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/4.004, allocations: 4.031 kB / 1.64 GB, free: 1.648 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/4.008, allocations: 1.503 MB / 1.641 GB, free: 132 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/4.008, allocations: 288.3 kB / 1.641 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/4.009, allocations: 16 kB / 1.641 GB, free: 15.82 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006144/4.009, allocations: 48.02 kB / 1.641 GB, free: 15.77 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/4.009, allocations: 48.09 kB / 1.641 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/4.009, allocations: 27.98 kB / 1.641 GB, free: 15.7 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001209/4.011, allocations: 0.801 MB / 1.642 GB, free: 14.89 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.343e-06/4.011, allocations: 0 / 1.642 GB, free: 14.89 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002152/4.013, allocations: 0.7124 MB / 1.643 GB, free: 14.26 MB / 1.107 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002361/4.015, allocations: 0.925 MB / 1.644 GB, free: 13.63 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002682/4.018, allocations: 1.202 MB / 1.645 GB, free: 12.44 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/4.018, allocations: 0 / 1.645 GB, free: 12.44 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000799/4.019, allocations: 370.9 kB / 1.645 GB, free: 12.08 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/4.021, allocations: 475.3 kB / 1.646 GB, free: 11.62 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/4.025, allocations: 2.344 MB / 1.648 GB, free: 9.238 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/4.026, allocations: 1.096 MB / 1.649 GB, free: 8.109 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001105/4.027, allocations: 273.5 kB / 1.649 GB, free: 7.848 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/4.028, allocations: 91.41 kB / 1.649 GB, free: 7.762 MB / 1.107 GB Notification: Performance of SimCode: time 6.41e-07/4.028, allocations: 0 / 1.649 GB, free: 7.762 MB / 1.107 GB Notification: Performance of Templates: time 0.502/4.53, allocations: 25.66 MB / 1.675 GB, free: 413 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches