Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexCou.Q1_flow|hexCou.Q2_flow|hexCou.m1_flow|hexCou.m2_flow|hexPar.Q1_flow|hexCroC1Mix.Q1_flow|hexCroC1Unm.Q1_flow|hexCroUnm.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexCou.Q1_flow|hexCou.Q2_flow|hexCou.m1_flow|hexCou.m2_flow|hexPar.Q1_flow|hexCroC1Mix.Q1_flow|hexCroC1Unm.Q1_flow|hexCroUnm.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001018, allocations: 98.88 kB / 16.02 MB, free: 76 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.001492/0.001493, allocations: 181.3 kB / 16.92 MB, free: 6.918 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.461/1.461, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.836/2.836, allocations: 462.6 MB / 0.737 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 17.98 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3805, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 1.086/1.467, allocations: 348.3 MB / 1.399 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.05286/1.52, allocations: 31.94 MB / 1.431 GB, free: 8.508 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009113/1.529, allocations: 149.8 kB / 1.431 GB, free: 8.441 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009981/1.539, allocations: 2.375 MB / 1.433 GB, free: 6.484 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.02702/1.566, allocations: 7.665 MB / 1.441 GB, free: 468 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.01182/1.578, allocations: 3.753 MB / 1.444 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02457/1.602, allocations: 16.24 MB / 1.46 GB, free: 1.914 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009467/1.612, allocations: 3.749 MB / 1.464 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01904/1.631, allocations: 6.415 MB / 1.47 GB, free: 7.652 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/1.641, allocations: 3.858 MB / 1.474 GB, free: 3.789 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001757/1.643, allocations: 212 kB / 1.474 GB, free: 3.582 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01499/1.658, allocations: 5.986 MB / 1.48 GB, free: 13.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002807/1.661, allocations: 1.178 MB / 1.481 GB, free: 12.4 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006212/1.667, allocations: 2.636 MB / 1.484 GB, free: 9.742 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01184/1.679, allocations: 6.574 MB / 1.49 GB, free: 3.152 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.679, allocations: 0 / 1.49 GB, free: 3.152 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.196e-06/1.679, allocations: 0 / 1.49 GB, free: 3.152 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002586/1.679, allocations: 0 / 1.49 GB, free: 3.152 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01629/1.695, allocations: 5.261 MB / 1.495 GB, free: 13.8 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.696, allocations: 15.97 kB / 1.495 GB, free: 13.79 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/1.708, allocations: 2.214 MB / 1.497 GB, free: 11.57 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009016/1.717, allocations: 3.769 MB / 1.501 GB, free: 7.742 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003268/1.72, allocations: 0.9049 MB / 1.502 GB, free: 6.836 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/1.721, allocations: 355.9 kB / 1.502 GB, free: 6.488 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/1.733, allocations: 4.902 MB / 1.507 GB, free: 1.5 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.767e-05/1.733, allocations: 0 / 1.507 GB, free: 1.5 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004125/1.734, allocations: 128 kB / 1.507 GB, free: 1.375 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001617/1.734, allocations: 150.1 kB / 1.507 GB, free: 1.227 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/1.749, allocations: 5.556 MB / 1.513 GB, free: 11.66 MB / 1.107 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.03682/1.786, allocations: 19.71 MB / 1.532 GB, free: 6.625 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/1.798, allocations: 4.044 MB / 1.536 GB, free: 2.578 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005776/1.803, allocations: 2.125 MB / 1.538 GB, free: 456 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/1.804, allocations: 0.7085 MB / 1.539 GB, free: 15.61 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006291/1.811, allocations: 2.395 MB / 1.541 GB, free: 13.19 MB / 1.139 GB Notification: Performance of pre-optimization done (n=247): time 4.298e-06/1.811, allocations: 0 / 1.541 GB, free: 13.19 MB / 1.139 GB Notification: Performance of matching and sorting (n=247): time 0.01765/1.828, allocations: 6.049 MB / 1.547 GB, free: 7.133 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/1.829, allocations: 111 kB / 1.547 GB, free: 7.008 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005917/1.834, allocations: 3.669 MB / 1.551 GB, free: 3.332 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0008358/1.835, allocations: 89.7 kB / 1.551 GB, free: 3.238 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.837, allocations: 1.859 MB / 1.552 GB, free: 1.363 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001182/1.838, allocations: 0.8316 MB / 1.553 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004331/1.839, allocations: 268 kB / 1.554 GB, free: 256 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.839, allocations: 305.1 kB / 1.554 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005681/1.845, allocations: 2.001 MB / 1.556 GB, free: 13.95 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006474/1.851, allocations: 2.741 MB / 1.558 GB, free: 10.95 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/1.863, allocations: 4.263 MB / 1.563 GB, free: 6.516 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/1.863, allocations: 4 kB / 1.563 GB, free: 6.512 MB / 1.154 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01445/1.877, allocations: 5.168 MB / 1.568 GB, free: 1.297 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003742/1.878, allocations: 459.3 kB / 1.568 GB, free: 0.6953 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/1.878, allocations: 8 kB / 1.568 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.427e-05/1.878, allocations: 28 kB / 1.568 GB, free: 0.6602 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006711/1.885, allocations: 1.225 MB / 1.569 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/1.888, allocations: 5.97 MB / 1.575 GB, free: 9.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006852/1.895, allocations: 0.8492 MB / 1.576 GB, free: 8.379 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008484/1.896, allocations: 147.9 kB / 1.576 GB, free: 8.234 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.896, allocations: 6.344 kB / 1.576 GB, free: 8.23 MB / 1.17 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01316/1.909, allocations: 4.758 MB / 1.581 GB, free: 3.438 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/1.909, allocations: 8.094 kB / 1.581 GB, free: 3.43 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/1.909, allocations: 28 kB / 1.581 GB, free: 3.402 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005296/1.914, allocations: 1.085 MB / 1.582 GB, free: 2.316 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-05/1.915, allocations: 27.94 kB / 1.582 GB, free: 2.289 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006136/1.921, allocations: 0.8032 MB / 1.583 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006087/1.921, allocations: 155.8 kB / 1.583 GB, free: 1.332 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 15 (hexPar.flowRegime_nominal,hexPar.flowRegime,hexCou.flowRegime_nominal,hexCou.flowRegime,hexCroC1Mix.flowRegime_nominal,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime_nominal,hexCroC1Unm.flowRegime,hexCroUnm.flowRegime_nominal,hexCroUnm.flowRegime,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0026/1.924, allocations: 0.9263 MB / 1.584 GB, free: 404 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/1.925, allocations: 438.7 kB / 1.584 GB, free: 15.96 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/1.938, allocations: 4.824 MB / 1.589 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/1.939, allocations: 28 kB / 1.589 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.939, allocations: 0 / 1.589 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.128e-05/1.939, allocations: 15.89 kB / 1.589 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0215/1.96, allocations: 9.249 MB / 1.598 GB, free: 1.621 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/1.96, allocations: 4 kB / 1.598 GB, free: 1.617 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004459/1.965, allocations: 0.9012 MB / 1.599 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.261e-05/1.965, allocations: 16 kB / 1.599 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002808/1.965, allocations: 87.92 kB / 1.599 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003146/1.968, allocations: 5.943 MB / 1.605 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.968, allocations: 7.938 kB / 1.605 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/1.981, allocations: 4.754 MB / 1.609 GB, free: 5.508 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003025/1.985, allocations: 0.9982 MB / 1.61 GB, free: 4.484 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/1.986, allocations: 55.98 kB / 1.61 GB, free: 4.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005892/1.991, allocations: 0.7206 MB / 1.611 GB, free: 3.711 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004675/1.992, allocations: 189.7 kB / 1.611 GB, free: 3.523 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003611/1.992, allocations: 131.9 kB / 1.611 GB, free: 3.395 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004375/1.997, allocations: 2.432 MB / 1.614 GB, free: 0.9648 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.2e-07/1.997, allocations: 4 kB / 1.614 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.007626/2.004, allocations: 2.304 MB / 1.616 GB, free: 14.65 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001839/2.006, allocations: 0.7244 MB / 1.617 GB, free: 13.94 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0224/2.029, allocations: 7.502 MB / 1.624 GB, free: 6.383 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.04e-05/2.029, allocations: 448 / 1.624 GB, free: 6.383 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00683/2.036, allocations: 2.351 MB / 1.626 GB, free: 4.027 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0151/2.051, allocations: 2.053 MB / 1.628 GB, free: 1.992 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/2.073, allocations: 10.12 MB / 1.638 GB, free: 7.77 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/2.075, allocations: 2.387 MB / 1.641 GB, free: 5.344 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002279/2.077, allocations: 415.2 kB / 1.641 GB, free: 4.938 MB / 1.232 GB Notification: Performance of SimCode: time 1.011e-06/2.077, allocations: 0 / 1.641 GB, free: 4.938 MB / 1.232 GB Notification: Performance of Templates: time 0.8611/2.938, allocations: 270.3 MB / 1.905 GB, free: 400.2 MB / 1.342 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches