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.001247/0.001247, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001455/0.001455, allocations: 177.3 kB / 15.94 MB, free: 228 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.314/1.314, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003093, allocations: 8 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6067/0.607, allocations: 153.6 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1701/0.7772, allocations: 153.1 MB / 1.17 GB, free: 7.656 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01681/0.794, allocations: 11.36 MB / 1.181 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.7956, allocations: 27.81 kB / 1.181 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.7974, allocations: 469.7 kB / 1.182 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006245/0.8036, allocations: 1.894 MB / 1.184 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.8072, allocations: 1.187 MB / 1.185 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003297/0.8105, allocations: 1.475 MB / 1.186 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.8117, allocations: 0.6138 MB / 1.187 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.8132, allocations: 0.6499 MB / 1.188 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009982/0.8142, allocations: 0.4939 MB / 1.188 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.8144, allocations: 40 kB / 1.188 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003995/0.8184, allocations: 1.619 MB / 1.19 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004113/0.8188, allocations: 267 kB / 1.19 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.8193, allocations: 245.1 kB / 1.19 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003086/0.8224, allocations: 1.878 MB / 1.192 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8224, allocations: 4 kB / 1.192 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8224, allocations: 0 / 1.192 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.394e-05/0.8225, allocations: 0 / 1.192 GB, free: 1.418 MB / 0.9356 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.003291/0.8258, allocations: 1.598 MB / 1.194 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.8259, allocations: 8.031 kB / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.8269, allocations: 230.2 kB / 1.194 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/0.8298, allocations: 1.794 MB / 1.196 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.8298, allocations: 45.31 kB / 1.196 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.83, allocations: 71.69 kB / 1.196 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.8314, allocations: 0.7402 MB / 1.196 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.8314, allocations: 4 kB / 1.196 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.8315, allocations: 28 kB / 1.196 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.8315, allocations: 16 kB / 1.196 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.8329, allocations: 0.7155 MB / 1.197 GB, free: 12.04 MB / 0.9512 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.004694/0.8376, allocations: 3.203 MB / 1.2 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.8391, allocations: 0.7137 MB / 1.201 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004053/0.8431, allocations: 3.604 MB / 1.204 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000702/0.8439, allocations: 373.2 kB / 1.205 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=52): time 2.334e-06/0.8439, allocations: 3.938 kB / 1.205 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of matching and sorting (n=52): time 0.005103/0.849, allocations: 1.453 MB / 1.206 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.8491, allocations: 85.55 kB / 1.206 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/0.8519, allocations: 2.067 MB / 1.208 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.392e-05/0.852, allocations: 45.69 kB / 1.208 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/0.8524, allocations: 0.5046 MB / 1.209 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.8526, allocations: 177.5 kB / 1.209 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.8527, allocations: 16 kB / 1.209 GB, free: 15 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.8529, allocations: 341.9 kB / 1.209 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006335/0.8535, allocations: 289.1 kB / 1.21 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008757/0.8544, allocations: 0.5795 MB / 1.21 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.8551, allocations: 342 kB / 1.211 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.8551, allocations: 0 / 1.211 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001936/0.8571, allocations: 0.9601 MB / 1.211 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003516/0.8574, allocations: 0.9718 MB / 1.212 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.8574, allocations: 4 kB / 1.212 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625/2.483, allocations: 193.5 MB / 1.401 GB, free: 100.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/2.483, allocations: 131.2 kB / 1.402 GB, free: 100.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/2.484, allocations: 1.283 MB / 1.403 GB, free: 99.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009729/2.485, allocations: 105.1 kB / 1.403 GB, free: 99.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/2.486, allocations: 34.73 kB / 1.403 GB, free: 99.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/2.486, allocations: 4 kB / 1.403 GB, free: 99.16 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001704/2.487, allocations: 0.8483 MB / 1.404 GB, free: 98.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/2.487, allocations: 0 / 1.404 GB, free: 98.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158/3.645, allocations: 193.5 MB / 1.593 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/3.646, allocations: 135.7 kB / 1.593 GB, free: 0.793 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/3.648, allocations: 1.289 MB / 1.594 GB, free: 15.55 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/3.649, allocations: 93.31 kB / 1.594 GB, free: 15.5 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/3.649, allocations: 35.86 kB / 1.594 GB, free: 15.46 MB / 1.107 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.0006265/3.649, allocations: 375.5 kB / 1.595 GB, free: 15.12 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/3.65, allocations: 113.5 kB / 1.595 GB, free: 15.06 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/3.652, allocations: 0.9343 MB / 1.596 GB, free: 14.14 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/3.652, allocations: 7.984 kB / 1.596 GB, free: 14.13 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/3.652, allocations: 4 kB / 1.596 GB, free: 14.13 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001531/3.653, allocations: 0.9533 MB / 1.597 GB, free: 13.11 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004557/3.658, allocations: 2.084 MB / 1.599 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/3.658, allocations: 0.875 kB / 1.599 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/3.658, allocations: 80.55 kB / 1.599 GB, free: 10.91 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6024/4.261, allocations: 96.84 MB / 1.693 GB, free: 9.969 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/4.261, allocations: 23.17 kB / 1.693 GB, free: 9.949 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/4.262, allocations: 0.7351 MB / 1.694 GB, free: 9.191 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/4.262, allocations: 4.031 kB / 1.694 GB, free: 9.188 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/4.266, allocations: 1.497 MB / 1.695 GB, free: 7.672 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005862/4.266, allocations: 310 kB / 1.696 GB, free: 7.355 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/4.266, allocations: 19.94 kB / 1.696 GB, free: 7.336 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006679/4.267, allocations: 51.92 kB / 1.696 GB, free: 7.285 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/4.267, allocations: 36.39 kB / 1.696 GB, free: 7.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/4.267, allocations: 31.94 kB / 1.696 GB, free: 7.219 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001684/4.269, allocations: 1.544 MB / 1.697 GB, free: 5.668 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.6e-07/4.269, allocations: 4 kB / 1.697 GB, free: 5.664 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001953/4.271, allocations: 0.73 MB / 1.698 GB, free: 5.012 MB / 1.201 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.002114/4.273, allocations: 0.9367 MB / 1.699 GB, free: 4.367 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002442/4.276, allocations: 1.15 MB / 1.7 GB, free: 3.223 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/4.276, allocations: 0 / 1.7 GB, free: 3.223 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006827/4.276, allocations: 358.8 kB / 1.7 GB, free: 2.871 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/4.278, allocations: 457.6 kB / 1.701 GB, free: 2.426 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4696/4.748, allocations: 2.311 MB / 1.703 GB, free: 439.4 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008172/4.749, allocations: 1.119 MB / 1.704 GB, free: 438.7 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001335/4.75, allocations: 281 kB / 1.705 GB, free: 438.7 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/4.75, allocations: 103.2 kB / 1.705 GB, free: 438.7 MB / 1.201 GB Notification: Performance of SimCode: time 1.372e-06/4.75, allocations: 0 / 1.705 GB, free: 438.7 MB / 1.201 GB Notification: Performance of Templates: time 0.04858/4.799, allocations: 26.76 MB / 1.731 GB, free: 429.7 MB / 1.201 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","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches