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.001041/0.001041, allocations: 92.16 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.001466/0.001466, allocations: 172.9 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.804/2.804, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 10.12 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3392, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.195/0.5343, allocations: 176.6 MB / 1.232 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01994/0.5542, allocations: 13.32 MB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.5561, allocations: 27.81 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.558, allocations: 441.6 kB / 1.245 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.5651, allocations: 2.025 MB / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.5685, allocations: 0.9856 MB / 1.248 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6956/1.264, allocations: 2.983 MB / 1.251 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/1.266, allocations: 0.6615 MB / 1.252 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/1.268, allocations: 0.7313 MB / 1.252 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/1.27, allocations: 0.6865 MB / 1.253 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004105/1.271, allocations: 38.75 kB / 1.253 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005358/1.276, allocations: 2.272 MB / 1.255 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006675/1.277, allocations: 281 kB / 1.256 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/1.278, allocations: 0.5803 MB / 1.256 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004102/1.282, allocations: 1.976 MB / 1.258 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.282, allocations: 0 / 1.258 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.282, allocations: 0 / 1.258 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.13e-05/1.282, allocations: 0 / 1.258 GB, free: 12.95 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.003475/1.286, allocations: 1.562 MB / 1.26 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.286, allocations: 16 kB / 1.26 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/1.287, allocations: 231.5 kB / 1.26 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/1.289, allocations: 1.125 MB / 1.261 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.235e-05/1.289, allocations: 47.95 kB / 1.261 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/1.289, allocations: 69.12 kB / 1.261 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/1.291, allocations: 0.7684 MB / 1.262 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/1.291, allocations: 0 / 1.262 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/1.291, allocations: 24.86 kB / 1.262 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/1.291, allocations: 14.69 kB / 1.262 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/1.292, allocations: 0.7519 MB / 1.263 GB, free: 11.4 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.004801/1.297, allocations: 3.102 MB / 1.266 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/1.299, allocations: 0.7658 MB / 1.266 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007865/1.299, allocations: 336.8 kB / 1.267 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004903/1.304, allocations: 3.621 MB / 1.27 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009991/1.305, allocations: 387 kB / 1.271 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 3.687e-06/1.305, allocations: 0 / 1.271 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.005815/1.311, allocations: 1.513 MB / 1.272 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/1.311, allocations: 83.27 kB / 1.272 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/1.313, allocations: 1.157 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-05/1.313, allocations: 44.09 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/1.314, allocations: 0.4942 MB / 1.274 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/1.314, allocations: 182.2 kB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/1.314, allocations: 60.81 kB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.868e-05/1.314, allocations: 331.4 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007234/1.315, allocations: 312.2 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/1.316, allocations: 0.5952 MB / 1.275 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/1.317, allocations: 0.715 MB / 1.276 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.317, allocations: 1.062 kB / 1.276 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002171/1.32, allocations: 1.012 MB / 1.277 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.197e-05/1.32, allocations: 161.4 kB / 1.277 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.32, allocations: 2.688 kB / 1.277 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222/2.541, allocations: 193.5 MB / 1.466 GB, free: 15.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/2.542, allocations: 128.6 kB / 1.466 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/2.544, allocations: 1.288 MB / 1.467 GB, free: 14.51 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/2.545, allocations: 101.8 kB / 1.468 GB, free: 14.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/2.545, allocations: 27.55 kB / 1.468 GB, free: 14.4 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/2.545, allocations: 4 kB / 1.468 GB, free: 14.4 MB / 1.154 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002212/2.548, allocations: 0.8829 MB / 1.468 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/2.548, allocations: 8.812 kB / 1.468 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226/3.774, allocations: 193.5 MB / 1.657 GB, free: 12.14 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/3.775, allocations: 131.3 kB / 1.658 GB, free: 12.02 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/3.776, allocations: 1.285 MB / 1.659 GB, free: 10.77 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/3.778, allocations: 96.84 kB / 1.659 GB, free: 10.69 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/3.778, allocations: 31.48 kB / 1.659 GB, free: 10.67 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.0008899/3.779, allocations: 383.4 kB / 1.659 GB, free: 10.37 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/3.779, allocations: 108.7 kB / 1.659 GB, free: 10.27 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/3.782, allocations: 0.9648 MB / 1.66 GB, free: 9.566 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/3.782, allocations: 7.938 kB / 1.66 GB, free: 9.559 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/3.782, allocations: 0 / 1.66 GB, free: 9.559 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/3.783, allocations: 0.9943 MB / 1.661 GB, free: 8.711 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005244/3.789, allocations: 2.104 MB / 1.663 GB, free: 7.125 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/3.789, allocations: 4 kB / 1.663 GB, free: 7.121 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/3.789, allocations: 81.39 kB / 1.663 GB, free: 7.047 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6098/4.399, allocations: 96.83 MB / 1.758 GB, free: 6.148 MB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/4.399, allocations: 23.67 kB / 1.758 GB, free: 6.133 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/4.4, allocations: 0.7426 MB / 1.759 GB, free: 5.438 MB / 1.436 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/4.4, allocations: 0 / 1.759 GB, free: 5.438 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/4.404, allocations: 1.511 MB / 1.76 GB, free: 4.273 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007692/4.405, allocations: 294.8 kB / 1.761 GB, free: 4.02 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/4.405, allocations: 11.75 kB / 1.761 GB, free: 4.016 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/4.406, allocations: 52.69 kB / 1.761 GB, free: 3.973 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/4.406, allocations: 43.98 kB / 1.761 GB, free: 3.938 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/4.407, allocations: 30.72 kB / 1.761 GB, free: 3.914 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.001479/4.408, allocations: 0.8097 MB / 1.761 GB, free: 3.312 MB / 1.436 GB Notification: Performance of sort global known variables: time 1.61e-07/4.408, allocations: 0 / 1.761 GB, free: 3.312 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.002741/4.411, allocations: 0.714 MB / 1.762 GB, free: 2.652 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.002886/4.414, allocations: 0.9321 MB / 1.763 GB, free: 1.984 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.002882/4.417, allocations: 1.209 MB / 1.764 GB, free: 1.133 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/4.417, allocations: 7.875 kB / 1.764 GB, free: 1.129 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.0007675/4.417, allocations: 364.1 kB / 1.765 GB, free: 0.8828 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/4.421, allocations: 482.6 kB / 1.765 GB, free: 0.4961 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5591/4.98, allocations: 2.395 MB / 1.767 GB, free: 0.6228 GB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/4.98, allocations: 1.087 MB / 1.768 GB, free: 0.6221 GB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/4.981, allocations: 105.5 kB / 1.769 GB, free: 0.6221 GB / 1.436 GB Notification: Performance of SimCode: time 1.152e-06/4.981, allocations: 0.9375 kB / 1.769 GB, free: 0.6221 GB / 1.436 GB Notification: Performance of Templates: time 0.04775/5.029, allocations: 27.64 MB / 1.796 GB, free: 0.6129 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/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