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.0011/0.0011, 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.001663/0.001663, 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.495/1.495, allocations: 223.3 MB / 241 MB, free: 5.336 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.422/2.422, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003695, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/0.7542, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1971/0.9513, allocations: 176.6 MB / 1.128 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.9717, allocations: 13.33 MB / 1.141 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.9737, allocations: 27.81 kB / 1.141 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.9756, allocations: 437.6 kB / 1.142 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006933/0.9826, allocations: 2.011 MB / 1.144 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.9858, allocations: 0.9847 MB / 1.145 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004178/0.9899, allocations: 3 MB / 1.147 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.9914, allocations: 0.6798 MB / 1.148 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.9933, allocations: 0.7271 MB / 1.149 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.9946, allocations: 0.6881 MB / 1.15 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002909/0.9949, allocations: 40 kB / 1.15 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004867/0.9998, allocations: 2.265 MB / 1.152 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005345/1, allocations: 282.8 kB / 1.152 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/1.002, allocations: 0.5726 MB / 1.153 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003623/1.005, allocations: 1.98 MB / 1.155 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.005, allocations: 4 kB / 1.155 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.525e-06/1.005, allocations: 0 / 1.155 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.82e-05/1.005, allocations: 0 / 1.155 GB, free: 3.082 MB / 0.9044 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.003377/1.009, allocations: 1.561 MB / 1.156 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.009, allocations: 12.03 kB / 1.156 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.01, allocations: 230.3 kB / 1.156 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/1.012, allocations: 1.125 MB / 1.157 GB, free: 40 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/1.012, allocations: 49.36 kB / 1.157 GB, free: 15.99 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/1.012, allocations: 63.94 kB / 1.157 GB, free: 15.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/1.014, allocations: 0.7675 MB / 1.158 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/1.014, allocations: 4 kB / 1.158 GB, free: 15.13 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/1.014, allocations: 20 kB / 1.158 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/1.014, allocations: 16 kB / 1.158 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/1.016, allocations: 0.7546 MB / 1.159 GB, free: 14.34 MB / 0.92 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.004961/1.02, allocations: 3.101 MB / 1.162 GB, free: 11.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/1.022, allocations: 0.7622 MB / 1.163 GB, free: 10.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006171/1.023, allocations: 346 kB / 1.163 GB, free: 9.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004266/1.027, allocations: 3.624 MB / 1.167 GB, free: 5.793 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000744/1.028, allocations: 377.3 kB / 1.167 GB, free: 5.414 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 2.535e-06/1.028, allocations: 0 / 1.167 GB, free: 5.414 MB / 0.92 GB Notification: Performance of matching and sorting (n=52): time 0.005384/1.033, allocations: 1.515 MB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/1.033, allocations: 85.55 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/1.035, allocations: 1.159 MB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/1.035, allocations: 37.7 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/1.036, allocations: 0.4888 MB / 1.17 GB, free: 2.059 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/1.036, allocations: 185.4 kB / 1.17 GB, free: 1.875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.036, allocations: 61.69 kB / 1.17 GB, free: 1.809 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.036, allocations: 341.9 kB / 1.171 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006511/1.037, allocations: 309.2 kB / 1.171 GB, free: 1.168 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008835/1.038, allocations: 0.5951 MB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/1.039, allocations: 0.7191 MB / 1.172 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.039, allocations: 0 / 1.172 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002263/1.041, allocations: 1.003 MB / 1.173 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.041, allocations: 172.3 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.041, allocations: 0 / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828/2.869, allocations: 193.5 MB / 1.362 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/2.87, allocations: 128.5 kB / 1.363 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/2.871, allocations: 1.289 MB / 1.364 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/2.872, allocations: 97.25 kB / 1.364 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/2.872, allocations: 32.11 kB / 1.364 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/2.872, allocations: 4 kB / 1.364 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001697/2.874, allocations: 0.8859 MB / 1.365 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/2.874, allocations: 4 kB / 1.365 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117/3.991, allocations: 193.5 MB / 1.554 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/3.992, allocations: 130.9 kB / 1.554 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/3.993, allocations: 1.279 MB / 1.555 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/3.994, allocations: 95.22 kB / 1.555 GB, free: 8.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/3.994, allocations: 35.98 kB / 1.555 GB, free: 8.445 MB / 1.014 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.0006296/3.995, allocations: 371.2 kB / 1.556 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/3.995, allocations: 117.5 kB / 1.556 GB, free: 8.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/3.997, allocations: 0.9579 MB / 1.557 GB, free: 7.059 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/3.997, allocations: 6.906 kB / 1.557 GB, free: 7.055 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/3.997, allocations: 0 / 1.557 GB, free: 7.055 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001607/3.999, allocations: 0.9968 MB / 1.558 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/4.003, allocations: 2.105 MB / 1.56 GB, free: 3.852 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/4.003, allocations: 0 / 1.56 GB, free: 3.852 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/4.004, allocations: 79.91 kB / 1.56 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6114/4.615, allocations: 96.83 MB / 1.654 GB, free: 2.828 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001794/4.615, allocations: 16.47 kB / 1.654 GB, free: 2.816 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/4.617, allocations: 0.7515 MB / 1.655 GB, free: 2.043 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/4.617, allocations: 0 / 1.655 GB, free: 2.043 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004003/4.621, allocations: 1.517 MB / 1.657 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006601/4.621, allocations: 287 kB / 1.657 GB, free: 264 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/4.621, allocations: 17.92 kB / 1.657 GB, free: 248 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007063/4.622, allocations: 48.02 kB / 1.657 GB, free: 200 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/4.622, allocations: 40.38 kB / 1.657 GB, free: 160 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.037e-05/4.622, allocations: 29.8 kB / 1.657 GB, free: 132 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001364/4.624, allocations: 0.8088 MB / 1.658 GB, free: 15.31 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/4.624, allocations: 0 / 1.658 GB, free: 15.31 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00214/4.626, allocations: 0.7155 MB / 1.659 GB, free: 14.68 MB / 1.123 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.002521/4.628, allocations: 0.9363 MB / 1.659 GB, free: 14.04 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00277/4.631, allocations: 1.213 MB / 1.661 GB, free: 12.83 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/4.631, allocations: 0.625 kB / 1.661 GB, free: 12.83 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0007744/4.632, allocations: 384.5 kB / 1.661 GB, free: 12.46 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/4.635, allocations: 480.7 kB / 1.661 GB, free: 12 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/4.639, allocations: 2.397 MB / 1.664 GB, free: 9.555 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007817/4.64, allocations: 1.085 MB / 1.665 GB, free: 8.438 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/4.64, allocations: 99.34 kB / 1.665 GB, free: 8.344 MB / 1.123 GB Notification: Performance of SimCode: time 4.31e-07/4.64, allocations: 0 / 1.665 GB, free: 8.344 MB / 1.123 GB Notification: Performance of Templates: time 0.5478/5.188, allocations: 27.64 MB / 1.692 GB, free: 403.2 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/jenkins1/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