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.001016/0.001016, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001331/0.001331, allocations: 172.7 kB / 15.95 MB, free: 192 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.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.729/2.729, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 8.219 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.269, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1895/0.4585, allocations: 165.1 MB / 1.219 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01623/0.4748, allocations: 12.43 MB / 1.231 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.476, allocations: 27.81 kB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.4773, allocations: 373.7 kB / 1.232 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005313/0.4827, allocations: 1.739 MB / 1.233 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.4852, allocations: 0.8525 MB / 1.234 GB, free: 300 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003438/0.4887, allocations: 2.607 MB / 1.237 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.49, allocations: 0.61 MB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.4915, allocations: 0.7155 MB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.4928, allocations: 0.6494 MB / 1.239 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.493, allocations: 36 kB / 1.239 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.4969, allocations: 1.788 MB / 1.241 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.4973, allocations: 275 kB / 1.241 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.4977, allocations: 245.1 kB / 1.241 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.5005, allocations: 1.917 MB / 1.243 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5006, allocations: 0 / 1.243 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5006, allocations: 3.938 kB / 1.243 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.918e-05/0.5006, allocations: 0 / 1.243 GB, free: 7.418 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.002957/0.5036, allocations: 1.574 MB / 1.244 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5036, allocations: 8.031 kB / 1.244 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009335/0.5046, allocations: 230.3 kB / 1.245 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.5066, allocations: 1.087 MB / 1.246 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.5066, allocations: 53.27 kB / 1.246 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.5067, allocations: 59.91 kB / 1.246 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.5082, allocations: 0.7636 MB / 1.247 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.5082, allocations: 0 / 1.247 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/0.5083, allocations: 28 kB / 1.247 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.5083, allocations: 16 kB / 1.247 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.5097, allocations: 0.7468 MB / 1.247 GB, free: 2.719 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.4716/0.9813, allocations: 3.106 MB / 1.25 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.983, allocations: 0.7625 MB / 1.251 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.9837, allocations: 335.4 kB / 1.251 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003408/0.9871, allocations: 3.614 MB / 1.255 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007059/0.9878, allocations: 386 kB / 1.255 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=52): time 2.494e-06/0.9879, allocations: 0.9375 kB / 1.255 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=52): time 0.004582/0.9924, allocations: 1.511 MB / 1.257 GB, free: 187 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.9925, allocations: 82.11 kB / 1.257 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.9938, allocations: 1.15 MB / 1.258 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.9938, allocations: 39.64 kB / 1.258 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.9942, allocations: 0.4927 MB / 1.259 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.9943, allocations: 183.2 kB / 1.259 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.9944, allocations: 11.16 kB / 1.259 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.9944, allocations: 329.6 kB / 1.259 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/0.995, allocations: 312.8 kB / 1.259 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/0.9957, allocations: 0.5871 MB / 1.26 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.9963, allocations: 355.8 kB / 1.26 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9963, allocations: 0 / 1.26 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001793/0.9981, allocations: 1.004 MB / 1.261 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.918e-05/0.9982, allocations: 162.9 kB / 1.261 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.9982, allocations: 3.156 kB / 1.261 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016/2.014, allocations: 193.5 MB / 1.45 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/2.015, allocations: 131.5 kB / 1.451 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/2.016, allocations: 1.287 MB / 1.452 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/2.017, allocations: 99.27 kB / 1.452 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.355e-05/2.017, allocations: 31.48 kB / 1.452 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/2.017, allocations: 4 kB / 1.452 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001602/2.018, allocations: 0.8736 MB / 1.453 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/2.019, allocations: 4 kB / 1.453 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075/3.093, allocations: 193.5 MB / 1.642 GB, free: 9.328 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/3.094, allocations: 136.3 kB / 1.642 GB, free: 9.203 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/3.095, allocations: 1.285 MB / 1.643 GB, free: 7.953 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009379/3.096, allocations: 85.86 kB / 1.643 GB, free: 7.879 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.86e-05/3.096, allocations: 35.36 kB / 1.643 GB, free: 7.852 MB / 1.186 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.0006036/3.097, allocations: 385.5 kB / 1.644 GB, free: 7.547 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/3.097, allocations: 106.7 kB / 1.644 GB, free: 7.441 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/3.099, allocations: 0.9567 MB / 1.645 GB, free: 6.746 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/3.099, allocations: 8 kB / 1.645 GB, free: 6.738 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/3.099, allocations: 0 / 1.645 GB, free: 6.738 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001548/3.101, allocations: 0.9891 MB / 1.646 GB, free: 5.898 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004167/3.105, allocations: 2.102 MB / 1.648 GB, free: 4.297 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/3.105, allocations: 0 / 1.648 GB, free: 4.297 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/3.106, allocations: 80.47 kB / 1.648 GB, free: 4.223 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021/4.127, allocations: 96.83 MB / 1.742 GB, free: 459.7 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/4.127, allocations: 17.28 kB / 1.742 GB, free: 459.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/4.128, allocations: 0.7405 MB / 1.743 GB, free: 459.2 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/4.128, allocations: 6.875 kB / 1.743 GB, free: 459.2 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004011/4.132, allocations: 1.507 MB / 1.745 GB, free: 459 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/4.132, allocations: 289.1 kB / 1.745 GB, free: 458.9 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/4.132, allocations: 11.42 kB / 1.745 GB, free: 458.9 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/4.133, allocations: 56.14 kB / 1.745 GB, free: 458.9 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/4.133, allocations: 40.53 kB / 1.745 GB, free: 458.9 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-05/4.133, allocations: 25.5 kB / 1.745 GB, free: 458.9 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00112/4.134, allocations: 0.8008 MB / 1.746 GB, free: 458.8 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.4e-07/4.134, allocations: 7.75 kB / 1.746 GB, free: 458.8 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001855/4.136, allocations: 0.7116 MB / 1.746 GB, free: 458.7 MB / 1.264 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.002076/4.138, allocations: 0.9168 MB / 1.747 GB, free: 458.6 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002447/4.141, allocations: 1.202 MB / 1.749 GB, free: 458.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/4.141, allocations: 0 / 1.749 GB, free: 458.6 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006755/4.141, allocations: 369.2 kB / 1.749 GB, free: 458.5 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/4.144, allocations: 483.2 kB / 1.749 GB, free: 458.5 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/4.147, allocations: 2.34 MB / 1.752 GB, free: 457.4 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/4.147, allocations: 1.099 MB / 1.753 GB, free: 456.7 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009983/4.148, allocations: 271.8 kB / 1.753 GB, free: 456.6 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/4.149, allocations: 91.94 kB / 1.753 GB, free: 456.6 MB / 1.264 GB Notification: Performance of SimCode: time 5.01e-07/4.149, allocations: 0 / 1.753 GB, free: 456.6 MB / 1.264 GB Notification: Performance of Templates: time 0.03647/4.185, allocations: 25.67 MB / 1.778 GB, free: 441.3 MB / 1.264 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