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.0008485/0.0008487, allocations: 99.42 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.001117/0.001118, allocations: 185 kB / 16.92 MB, free: 6.75 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.352 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.443/2.443, allocations: 390.9 MB / 0.667 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004257, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.7771, allocations: 142.4 MB / 0.9557 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.224/2.001, allocations: 362.3 MB / 1.309 GB, free: 41.44 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05075/2.052, allocations: 33.27 MB / 1.342 GB, free: 40.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009/2.061, allocations: 131.7 kB / 1.342 GB, free: 40.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007402/2.068, allocations: 1.949 MB / 1.344 GB, free: 40.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02311/2.091, allocations: 6.939 MB / 1.351 GB, free: 40.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01333/2.105, allocations: 4.105 MB / 1.355 GB, free: 40.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02152/2.126, allocations: 13.65 MB / 1.368 GB, free: 39.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007993/2.134, allocations: 3.168 MB / 1.371 GB, free: 38.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0172/2.151, allocations: 4.621 MB / 1.376 GB, free: 37.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009604/2.161, allocations: 3.224 MB / 1.379 GB, free: 36.72 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002468/2.163, allocations: 193 kB / 1.379 GB, free: 36.72 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01932/2.183, allocations: 7.201 MB / 1.386 GB, free: 33.87 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002891/2.186, allocations: 1.086 MB / 1.387 GB, free: 33.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007486/2.193, allocations: 2.436 MB / 1.39 GB, free: 31.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01598/2.209, allocations: 7.222 MB / 1.397 GB, free: 27.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/2.209, allocations: 5.25 kB / 1.397 GB, free: 27.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.026e-06/2.209, allocations: 0 / 1.397 GB, free: 27.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003671/2.21, allocations: 0 / 1.397 GB, free: 27.23 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.01617/2.226, allocations: 4.966 MB / 1.401 GB, free: 23.74 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/2.226, allocations: 8.031 kB / 1.401 GB, free: 23.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03023/2.256, allocations: 4.566 MB / 1.406 GB, free: 19.17 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008059/2.264, allocations: 3.6 MB / 1.409 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001529/2.266, allocations: 0.56 MB / 1.41 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/2.268, allocations: 351.4 kB / 1.41 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/2.283, allocations: 5.831 MB / 1.416 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.528e-05/2.283, allocations: 0 / 1.416 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004615/2.284, allocations: 136 kB / 1.416 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/2.284, allocations: 141.4 kB / 1.416 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/2.305, allocations: 7.04 MB / 1.423 GB, free: 1.562 MB / 0.9981 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.05896/2.364, allocations: 22.47 MB / 1.445 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/2.378, allocations: 4.14 MB / 1.449 GB, free: 6.188 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007963/2.386, allocations: 2.327 MB / 1.451 GB, free: 3.859 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0208/2.407, allocations: 8.197 MB / 1.459 GB, free: 11.37 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008373/2.416, allocations: 2.466 MB / 1.462 GB, free: 8.895 MB / 1.045 GB Notification: Performance of pre-optimization done (n=230): time 6.863e-06/2.416, allocations: 0 / 1.462 GB, free: 8.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=230): time 0.03674/2.452, allocations: 8.703 MB / 1.47 GB, free: 72 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/2.453, allocations: 81.39 kB / 1.47 GB, free: 15.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/2.464, allocations: 4.323 MB / 1.475 GB, free: 11.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0009919/2.465, allocations: 73.7 kB / 1.475 GB, free: 11.55 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00261/2.468, allocations: 1.828 MB / 1.476 GB, free: 9.727 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001862/2.47, allocations: 0.7928 MB / 1.477 GB, free: 8.941 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/2.471, allocations: 309.1 kB / 1.478 GB, free: 8.633 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001401/2.471, allocations: 309.1 kB / 1.478 GB, free: 8.328 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01052/2.482, allocations: 2.829 MB / 1.481 GB, free: 5.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01106/2.493, allocations: 3.51 MB / 1.484 GB, free: 1.766 MB / 1.061 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.02129/2.514, allocations: 6.1 MB / 1.49 GB, free: 11.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.101e-05/2.514, allocations: 8 kB / 1.49 GB, free: 11.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03337/2.548, allocations: 7.804 MB / 1.498 GB, free: 3.641 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.123e-05/2.548, allocations: 12 kB / 1.498 GB, free: 3.629 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.091e-05/2.548, allocations: 16 kB / 1.498 GB, free: 3.613 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00451/2.552, allocations: 0.9836 MB / 1.499 GB, free: 2.602 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009589/2.562, allocations: 1.431 MB / 1.5 GB, free: 1.172 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/2.581, allocations: 13.81 MB / 1.513 GB, free: 2.32 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01234/2.593, allocations: 1.362 MB / 1.515 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/2.595, allocations: 183.8 kB / 1.515 GB, free: 0.7734 MB / 1.092 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.004078/2.599, allocations: 0.858 MB / 1.516 GB, free: 15.9 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002247/2.601, allocations: 426.6 kB / 1.516 GB, free: 15.48 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02498/2.626, allocations: 5.962 MB / 1.522 GB, free: 9.492 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/2.626, allocations: 24 kB / 1.522 GB, free: 9.469 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/2.626, allocations: 0 / 1.522 GB, free: 9.469 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.029e-05/2.626, allocations: 11.95 kB / 1.522 GB, free: 9.457 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03975/2.666, allocations: 11.08 MB / 1.533 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/2.666, allocations: 0 / 1.533 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005296/2.671, allocations: 0.7065 MB / 1.534 GB, free: 13.58 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003889/2.675, allocations: 0.7949 MB / 1.534 GB, free: 12.76 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007782/2.676, allocations: 83.91 kB / 1.534 GB, free: 12.68 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/2.691, allocations: 11.04 MB / 1.545 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/2.691, allocations: 4 kB / 1.545 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03223/2.723, allocations: 8.431 MB / 1.553 GB, free: 8.227 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0044/2.728, allocations: 1.147 MB / 1.555 GB, free: 7.055 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002202/2.73, allocations: 44 kB / 1.555 GB, free: 7.012 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007938/2.738, allocations: 0.6476 MB / 1.555 GB, free: 6.363 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007705/2.739, allocations: 173.6 kB / 1.555 GB, free: 6.195 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007311/2.739, allocations: 111.9 kB / 1.556 GB, free: 6.086 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.008514/2.748, allocations: 2.982 MB / 1.558 GB, free: 3.102 MB / 1.139 GB Notification: Performance of sort global known variables: time 4.61e-07/2.748, allocations: 0 / 1.558 GB, free: 3.102 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.007827/2.756, allocations: 1.552 MB / 1.56 GB, free: 1.551 MB / 1.139 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.003239/2.759, allocations: 1.052 MB / 1.561 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.023/2.782, allocations: 6.505 MB / 1.567 GB, free: 10.14 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/2.782, allocations: 0 / 1.567 GB, free: 10.14 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.009634/2.792, allocations: 3.103 MB / 1.57 GB, free: 6.965 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01605/2.808, allocations: 2.049 MB / 1.572 GB, free: 4.953 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03289/2.841, allocations: 11.04 MB / 1.583 GB, free: 9.855 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003075/2.844, allocations: 2.306 MB / 1.585 GB, free: 7.52 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003453/2.847, allocations: 443.1 kB / 1.586 GB, free: 7.086 MB / 1.17 GB Notification: Performance of SimCode: time 1.102e-06/2.847, allocations: 0 / 1.586 GB, free: 7.086 MB / 1.17 GB Notification: Performance of Templates: time 0.802/3.649, allocations: 259 MB / 1.839 GB, free: 468 MB / 1.295 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