Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009928/0.0009928, allocations: 84.38 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.001072/0.001072, 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.424/1.424, 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 10.1.0-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437.7 MB / 0.7117 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004502, allocations: 12 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5687/0.5692, allocations: 153.8 MB / 1.022 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1606/0.7299, allocations: 165.1 MB / 1.184 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.7457, allocations: 12.42 MB / 1.196 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.7468, allocations: 27.81 kB / 1.196 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.748, allocations: 377.7 kB / 1.196 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004474/0.7525, allocations: 1.734 MB / 1.198 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.7548, allocations: 0.8493 MB / 1.199 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002877/0.7577, allocations: 2.618 MB / 1.201 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009683/0.7587, allocations: 0.6175 MB / 1.202 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.7599, allocations: 0.7272 MB / 1.203 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009391/0.7608, allocations: 0.6416 MB / 1.203 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.761, allocations: 36 kB / 1.203 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.7643, allocations: 1.794 MB / 1.205 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.7646, allocations: 271 kB / 1.205 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.7649, allocations: 245 kB / 1.205 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.7672, allocations: 1.917 MB / 1.207 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7672, allocations: 0 / 1.207 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7672, allocations: 0 / 1.207 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.651e-05/0.7672, allocations: 0 / 1.207 GB, free: 2.137 MB / 0.9512 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.002591/0.7698, allocations: 1.573 MB / 1.209 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.7699, allocations: 15.95 kB / 1.209 GB, free: 500 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000866/0.7708, allocations: 234.3 kB / 1.209 GB, free: 264 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.7725, allocations: 1.083 MB / 1.21 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.7726, allocations: 49.31 kB / 1.21 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7727, allocations: 59.95 kB / 1.21 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.7741, allocations: 0.7636 MB / 1.211 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.7741, allocations: 0 / 1.211 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.7742, allocations: 28 kB / 1.211 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.7742, allocations: 12 kB / 1.211 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.7756, allocations: 0.7468 MB / 1.212 GB, free: 13.44 MB / 0.9669 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.003938/0.7795, allocations: 3.097 MB / 1.215 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.781, allocations: 0.7548 MB / 1.216 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/0.7816, allocations: 338 kB / 1.216 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00361/0.7852, allocations: 3.628 MB / 1.219 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006944/0.7859, allocations: 381.3 kB / 1.22 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=52): time 2.044e-06/0.786, allocations: 0 / 1.22 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=52): time 0.004743/0.7907, allocations: 1.507 MB / 1.221 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.7908, allocations: 81.55 kB / 1.221 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.7922, allocations: 1.152 MB / 1.222 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.7922, allocations: 37.7 kB / 1.222 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.7926, allocations: 0.4966 MB / 1.223 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.7928, allocations: 177.5 kB / 1.223 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.7928, allocations: 16 kB / 1.223 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7929, allocations: 333.9 kB / 1.223 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/0.7936, allocations: 305.2 kB / 1.224 GB, free: 376 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008234/0.7944, allocations: 0.6028 MB / 1.224 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/0.7951, allocations: 358.1 kB / 1.225 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.7951, allocations: 3.938 kB / 1.225 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001926/0.797, allocations: 0.9952 MB / 1.226 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.871e-05/0.7971, allocations: 156.4 kB / 1.226 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.7971, allocations: 4 kB / 1.226 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49/2.287, allocations: 193.5 MB / 1.415 GB, free: 86.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/2.287, allocations: 132.2 kB / 1.415 GB, free: 86.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/2.289, allocations: 1.286 MB / 1.416 GB, free: 85.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008808/2.289, allocations: 103.2 kB / 1.416 GB, free: 85.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.39e-05/2.29, allocations: 28.98 kB / 1.416 GB, free: 85.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/2.29, allocations: 4.625 kB / 1.416 GB, free: 85.18 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001653/2.291, allocations: 0.8777 MB / 1.417 GB, free: 84.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/2.291, allocations: 4 kB / 1.417 GB, free: 84.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057/3.348, allocations: 193.5 MB / 1.606 GB, free: 2.918 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/3.349, allocations: 129.8 kB / 1.606 GB, free: 2.797 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/3.35, allocations: 1.288 MB / 1.608 GB, free: 1.551 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/3.351, allocations: 94.98 kB / 1.608 GB, free: 1.492 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-05/3.351, allocations: 31.48 kB / 1.608 GB, free: 1.469 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.0005941/3.352, allocations: 383.5 kB / 1.608 GB, free: 1.094 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/3.352, allocations: 108.7 kB / 1.608 GB, free: 1.043 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/3.354, allocations: 0.957 MB / 1.609 GB, free: 96 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/3.354, allocations: 11.89 kB / 1.609 GB, free: 88 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/3.354, allocations: 0 / 1.609 GB, free: 88 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001599/3.356, allocations: 0.9906 MB / 1.61 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004302/3.36, allocations: 2.096 MB / 1.612 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/3.36, allocations: 4 kB / 1.612 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/3.361, allocations: 79.89 kB / 1.612 GB, free: 12.81 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5513/3.912, allocations: 96.84 MB / 1.707 GB, free: 11.86 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/3.912, allocations: 17.73 kB / 1.707 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/3.913, allocations: 0.7406 MB / 1.707 GB, free: 11.08 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/3.913, allocations: 3.984 kB / 1.707 GB, free: 11.08 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/3.917, allocations: 1.506 MB / 1.709 GB, free: 9.551 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/3.917, allocations: 294 kB / 1.709 GB, free: 9.254 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/3.917, allocations: 19.94 kB / 1.709 GB, free: 9.234 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/3.918, allocations: 51.92 kB / 1.709 GB, free: 9.184 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/3.918, allocations: 40.33 kB / 1.709 GB, free: 9.145 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/3.918, allocations: 23.98 kB / 1.709 GB, free: 9.121 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001104/3.919, allocations: 0.8088 MB / 1.71 GB, free: 8.305 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.7e-07/3.919, allocations: 0 / 1.71 GB, free: 8.305 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001807/3.921, allocations: 0.7132 MB / 1.711 GB, free: 7.668 MB / 1.217 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.002102/3.923, allocations: 0.9194 MB / 1.712 GB, free: 7.047 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002463/3.926, allocations: 1.194 MB / 1.713 GB, free: 5.859 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/3.926, allocations: 4 kB / 1.713 GB, free: 5.855 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007054/3.926, allocations: 367.9 kB / 1.713 GB, free: 5.5 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/3.929, allocations: 487 kB / 1.714 GB, free: 5.031 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/3.932, allocations: 2.34 MB / 1.716 GB, free: 2.652 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/3.932, allocations: 1.1 MB / 1.717 GB, free: 1.523 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000882/3.933, allocations: 263.4 kB / 1.717 GB, free: 1.27 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/3.934, allocations: 99.39 kB / 1.717 GB, free: 1.172 MB / 1.217 GB Notification: Performance of SimCode: time 5.11e-07/3.934, allocations: 0 / 1.717 GB, free: 1.172 MB / 1.217 GB Notification: Performance of Templates: time 0.4584/4.392, allocations: 25.66 MB / 1.742 GB, free: 445.3 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Validation_MerkelEnergyPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches