Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.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.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008111/0.008111, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.00182/0.00182, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.514/2.514, allocations: 390.2 MB / 0.6649 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7698, allocations: 140.3 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.181/1.951, allocations: 367.3 MB / 1.308 GB, free: 26.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04664/1.997, allocations: 33.61 MB / 1.341 GB, free: 25.71 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009508/2.007, allocations: 139 kB / 1.341 GB, free: 25.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008305/2.015, allocations: 1.947 MB / 1.343 GB, free: 25.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0248/2.04, allocations: 6.941 MB / 1.35 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01408/2.054, allocations: 4.11 MB / 1.354 GB, free: 25.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02095/2.075, allocations: 13.65 MB / 1.367 GB, free: 25.14 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009712/2.085, allocations: 3.274 MB / 1.37 GB, free: 24.61 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02017/2.105, allocations: 4.73 MB / 1.375 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/2.116, allocations: 3.362 MB / 1.378 GB, free: 21.39 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002579/2.119, allocations: 240.9 kB / 1.379 GB, free: 21.39 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01939/2.138, allocations: 7.261 MB / 1.386 GB, free: 18.54 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003323/2.142, allocations: 1.157 MB / 1.387 GB, free: 17.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008764/2.151, allocations: 2.508 MB / 1.389 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01442/2.165, allocations: 7.387 MB / 1.396 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/2.165, allocations: 3.938 kB / 1.396 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.195e-06/2.165, allocations: 0 / 1.396 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003424/2.165, allocations: 0 / 1.396 GB, free: 11.32 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: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01996/2.185, allocations: 5.94 MB / 1.402 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/2.185, allocations: 8.031 kB / 1.402 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03004/2.215, allocations: 4.3 MB / 1.406 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/2.226, allocations: 3.587 MB / 1.41 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001637/2.228, allocations: 0.5148 MB / 1.41 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/2.23, allocations: 359.7 kB / 1.411 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02057/2.25, allocations: 5.71 MB / 1.416 GB, free: 6.902 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/2.251, allocations: 10.84 kB / 1.416 GB, free: 6.895 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001397/2.252, allocations: 134.9 kB / 1.416 GB, free: 6.766 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/2.252, allocations: 138.5 kB / 1.417 GB, free: 6.629 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02428/2.277, allocations: 6.832 MB / 1.423 GB, free: 15.8 MB / 1.029 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.05542/2.332, allocations: 22.23 MB / 1.445 GB, free: 8.848 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/2.345, allocations: 4.066 MB / 1.449 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007542/2.353, allocations: 2.27 MB / 1.451 GB, free: 2.523 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02114/2.374, allocations: 8.169 MB / 1.459 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008385/2.382, allocations: 2.395 MB / 1.462 GB, free: 7.656 MB / 1.061 GB Notification: Performance of pre-optimization done (n=230): time 6.703e-06/2.382, allocations: 0 / 1.462 GB, free: 7.656 MB / 1.061 GB Notification: Performance of matching and sorting (n=230): time 0.03854/2.421, allocations: 8.428 MB / 1.47 GB, free: 15.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/2.421, allocations: 81.41 kB / 1.47 GB, free: 15.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01187/2.433, allocations: 4.288 MB / 1.474 GB, free: 10.71 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001126/2.434, allocations: 79.73 kB / 1.474 GB, free: 10.63 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002602/2.437, allocations: 1.822 MB / 1.476 GB, free: 8.809 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001875/2.439, allocations: 0.795 MB / 1.477 GB, free: 8.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004431/2.443, allocations: 0.808 MB / 1.477 GB, free: 7.203 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001193/2.443, allocations: 305.1 kB / 1.478 GB, free: 6.902 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01004/2.453, allocations: 2.738 MB / 1.48 GB, free: 4.164 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01119/2.465, allocations: 3.421 MB / 1.484 GB, free: 0.5156 MB / 1.076 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02204/2.487, allocations: 5.966 MB / 1.49 GB, free: 10.36 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-05/2.487, allocations: 4 kB / 1.49 GB, free: 10.36 MB / 1.092 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03504/2.522, allocations: 7.586 MB / 1.497 GB, free: 2.805 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/2.522, allocations: 8 kB / 1.497 GB, free: 2.797 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.283e-05/2.522, allocations: 16 kB / 1.497 GB, free: 2.781 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004551/2.527, allocations: 0.9682 MB / 1.498 GB, free: 1.793 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009691/2.536, allocations: 1.414 MB / 1.499 GB, free: 432 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/2.554, allocations: 13.74 MB / 1.513 GB, free: 1.719 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/2.566, allocations: 1.296 MB / 1.514 GB, free: 432 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/2.567, allocations: 179.8 kB / 1.514 GB, free: 252 kB / 1.107 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 403 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003882/2.571, allocations: 0.8587 MB / 1.515 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002325/2.573, allocations: 414.8 kB / 1.515 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02408/2.598, allocations: 5.802 MB / 1.521 GB, free: 9.191 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.152e-05/2.598, allocations: 27.98 kB / 1.521 GB, free: 9.164 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/2.598, allocations: 3.938 kB / 1.521 GB, free: 9.16 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.264e-05/2.598, allocations: 11.95 kB / 1.521 GB, free: 9.148 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03545/2.633, allocations: 10.92 MB / 1.532 GB, free: 14.17 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/2.633, allocations: 4 kB / 1.532 GB, free: 14.16 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005225/2.639, allocations: 0.6639 MB / 1.532 GB, free: 13.52 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003878/2.642, allocations: 0.79 MB / 1.533 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009294/2.643, allocations: 79.91 kB / 1.533 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/2.658, allocations: 10.97 MB / 1.544 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/2.658, allocations: 4 kB / 1.544 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0293/2.687, allocations: 8.205 MB / 1.552 GB, free: 8.559 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003836/2.691, allocations: 1.057 MB / 1.553 GB, free: 7.477 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001718/2.693, allocations: 51.94 kB / 1.553 GB, free: 7.426 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007895/2.701, allocations: 0.6084 MB / 1.554 GB, free: 6.816 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/2.701, allocations: 160.9 kB / 1.554 GB, free: 6.66 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004581/2.702, allocations: 115.8 kB / 1.554 GB, free: 6.547 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.006964/2.709, allocations: 2.955 MB / 1.557 GB, free: 3.59 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.717e-06/2.709, allocations: 0 / 1.557 GB, free: 3.59 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00784/2.717, allocations: 1.563 MB / 1.558 GB, free: 2.027 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (relHumIn.phi,TDryBulIn.T,senMasFraIn.X,senMasFraOut.X,TDryBulOut.T,hexWetNTU.dryWetCalcs.fullyWet.TWatOutEst,relHumOut_eps.phi,hexWetNTU_TX.dryWetCalcs.fullyWet.TWatOutEst) * Number of discrete variables: 5 ($whenCondition1,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of discrete states: 2 (w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * 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): 8 systems {(1,4), (1,2), (1,4), (1,2), (1,1), (1,1), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003194/2.72, allocations: 1.034 MB / 1.559 GB, free: 1.238 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.02256/2.742, allocations: 6.371 MB / 1.566 GB, free: 10.88 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/2.743, allocations: 0 / 1.566 GB, free: 10.88 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.009496/2.752, allocations: 3.031 MB / 1.569 GB, free: 7.828 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0128/2.765, allocations: 1.975 MB / 1.57 GB, free: 5.887 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03158/2.797, allocations: 10.85 MB / 1.581 GB, free: 11 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/2.799, allocations: 2.29 MB / 1.583 GB, free: 8.68 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003177/2.802, allocations: 427.1 kB / 1.584 GB, free: 8.262 MB / 1.186 GB Notification: Performance of SimCode: time 9.22e-07/2.802, allocations: 0 / 1.584 GB, free: 8.262 MB / 1.186 GB Notification: Performance of Templates: time 0.8549/3.657, allocations: 259.7 MB / 1.837 GB, free: 0.5053 GB / 1.326 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches