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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008053/0.008054, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001659/0.001659, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8413/0.8428, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.42/1.263, allocations: 369.8 MB / 1.449 GB, free: 11.24 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04908/1.312, allocations: 33.31 MB / 1.482 GB, free: 9.844 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006579/1.319, allocations: 155.1 kB / 1.482 GB, free: 9.691 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006717/1.325, allocations: 2.36 MB / 1.484 GB, free: 7.316 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.02214/1.348, allocations: 7.503 MB / 1.491 GB, free: 15.78 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01164/1.359, allocations: 4.535 MB / 1.496 GB, free: 11.27 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01662/1.376, allocations: 11.06 MB / 1.507 GB, free: 184 kB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006727/1.383, allocations: 3.976 MB / 1.51 GB, free: 12.14 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01446/1.397, allocations: 5.444 MB / 1.516 GB, free: 6.738 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006888/1.404, allocations: 3.45 MB / 1.519 GB, free: 3.285 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001951/1.406, allocations: 0.5469 MB / 1.52 GB, free: 2.738 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01421/1.42, allocations: 6.799 MB / 1.526 GB, free: 11.93 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002344/1.423, allocations: 1.464 MB / 1.528 GB, free: 10.46 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.004645/1.427, allocations: 2.831 MB / 1.531 GB, free: 7.613 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01882/1.446, allocations: 9.754 MB / 1.54 GB, free: 13.83 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/1.446, allocations: 0 / 1.54 GB, free: 13.83 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.973e-06/1.446, allocations: 7.938 kB / 1.54 GB, free: 13.82 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000219/1.446, allocations: 0 / 1.54 GB, free: 13.82 MB / 1.279 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.01566/1.462, allocations: 5.935 MB / 1.546 GB, free: 7.785 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.462, allocations: 12.03 kB / 1.546 GB, free: 7.773 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03101/1.493, allocations: 4.286 MB / 1.55 GB, free: 3.477 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008834/1.502, allocations: 3.705 MB / 1.554 GB, free: 15.7 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/1.502, allocations: 312.9 kB / 1.554 GB, free: 15.39 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/1.504, allocations: 348 kB / 1.554 GB, free: 15.05 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/1.52, allocations: 5.697 MB / 1.56 GB, free: 9.27 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.596e-05/1.52, allocations: 3.984 kB / 1.56 GB, free: 9.266 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005161/1.52, allocations: 140 kB / 1.56 GB, free: 9.129 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/1.52, allocations: 134.5 kB / 1.56 GB, free: 8.996 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02375/1.544, allocations: 6.798 MB / 1.567 GB, free: 2.188 MB / 1.295 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.6952/2.239, allocations: 22.12 MB / 1.588 GB, free: 436.4 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/2.252, allocations: 4.066 MB / 1.592 GB, free: 435.4 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007343/2.259, allocations: 2.269 MB / 1.595 GB, free: 434.7 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/2.275, allocations: 8.184 MB / 1.603 GB, free: 429.8 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007385/2.283, allocations: 2.394 MB / 1.605 GB, free: 429.1 MB / 1.311 GB Notification: Performance of pre-optimization done (n=230): time 5.62e-06/2.283, allocations: 0 / 1.605 GB, free: 429.1 MB / 1.311 GB Notification: Performance of matching and sorting (n=230): time 0.03597/2.319, allocations: 8.434 MB / 1.613 GB, free: 426.6 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/2.319, allocations: 75.5 kB / 1.613 GB, free: 426.5 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009477/2.328, allocations: 4.278 MB / 1.617 GB, free: 425 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0008897/2.329, allocations: 82.67 kB / 1.617 GB, free: 424.9 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001737/2.331, allocations: 1.824 MB / 1.619 GB, free: 423.5 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001333/2.332, allocations: 0.7967 MB / 1.62 GB, free: 422.9 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002158/2.334, allocations: 0.81 MB / 1.621 GB, free: 422.6 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 5.16e-05/2.334, allocations: 305.6 kB / 1.621 GB, free: 422.3 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009543/2.344, allocations: 2.717 MB / 1.624 GB, free: 421.5 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/2.355, allocations: 3.406 MB / 1.627 GB, free: 420 MB / 1.311 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.02061/2.375, allocations: 5.938 MB / 1.633 GB, free: 417.4 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.733e-05/2.375, allocations: 5.125 kB / 1.633 GB, free: 417.4 MB / 1.311 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03099/2.406, allocations: 7.556 MB / 1.64 GB, free: 414.8 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/2.407, allocations: 11.38 kB / 1.64 GB, free: 414.8 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.956e-05/2.407, allocations: 15.22 kB / 1.64 GB, free: 414.8 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004154/2.411, allocations: 0.9713 MB / 1.641 GB, free: 414.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009263/2.42, allocations: 1.408 MB / 1.643 GB, free: 414.4 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/2.435, allocations: 14.45 MB / 1.657 GB, free: 401.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/2.447, allocations: 1.176 MB / 1.658 GB, free: 400.9 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/2.448, allocations: 179.5 kB / 1.658 GB, free: 400.9 MB / 1.311 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.003688/2.452, allocations: 0.8602 MB / 1.659 GB, free: 400.3 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002039/2.454, allocations: 417.6 kB / 1.659 GB, free: 400.1 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02282/2.477, allocations: 5.8 MB / 1.665 GB, free: 398 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-05/2.477, allocations: 27.44 kB / 1.665 GB, free: 398 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/2.477, allocations: 4 kB / 1.665 GB, free: 398 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.161e-05/2.477, allocations: 11.95 kB / 1.665 GB, free: 398 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03218/2.509, allocations: 10.93 MB / 1.676 GB, free: 390.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-05/2.509, allocations: 3.938 kB / 1.676 GB, free: 390.9 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004951/2.514, allocations: 0.6691 MB / 1.676 GB, free: 390.7 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00316/2.518, allocations: 0.7543 MB / 1.677 GB, free: 390.3 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007958/2.518, allocations: 83.47 kB / 1.677 GB, free: 390.2 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/2.53, allocations: 11.69 MB / 1.689 GB, free: 379.1 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/2.53, allocations: 3.969 kB / 1.689 GB, free: 379.1 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02781/2.558, allocations: 8.2 MB / 1.697 GB, free: 374.7 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003428/2.561, allocations: 1.062 MB / 1.698 GB, free: 373.8 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/2.563, allocations: 43.59 kB / 1.698 GB, free: 373.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006801/2.57, allocations: 0.5277 MB / 1.698 GB, free: 373.6 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006043/2.57, allocations: 169.2 kB / 1.698 GB, free: 373.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004448/2.571, allocations: 110 kB / 1.698 GB, free: 373.4 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.0061/2.577, allocations: 2.951 MB / 1.701 GB, free: 371.9 MB / 1.311 GB Notification: Performance of sort global known variables: time 4.61e-07/2.577, allocations: 0 / 1.701 GB, free: 371.9 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006212/2.583, allocations: 1.532 MB / 1.703 GB, free: 371.7 MB / 1.311 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.002555/2.586, allocations: 1.054 MB / 1.704 GB, free: 371.2 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02088/2.606, allocations: 6.383 MB / 1.71 GB, free: 365.8 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/2.607, allocations: 0 / 1.71 GB, free: 365.8 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.008705/2.615, allocations: 3.033 MB / 1.713 GB, free: 362.7 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0113/2.627, allocations: 2.101 MB / 1.715 GB, free: 360.6 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/2.652, allocations: 9.158 MB / 1.724 GB, free: 351.4 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/2.654, allocations: 2.298 MB / 1.726 GB, free: 349.1 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.005375/2.659, allocations: 1.043 MB / 1.727 GB, free: 348.1 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/2.661, allocations: 367.2 kB / 1.728 GB, free: 347.7 MB / 1.311 GB Notification: Performance of SimCode: time 8.32e-07/2.661, allocations: 0 / 1.728 GB, free: 347.7 MB / 1.311 GB Notification: Performance of Templates: time 0.1299/2.791, allocations: 97.47 MB / 1.823 GB, free: 251.1 MB / 1.311 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches