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.00145/0.00145, allocations: 105 kB / 16.41 MB, free: 6.465 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.001434/0.001434, allocations: 187 kB / 17.34 MB, free: 5.719 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.09 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.346/2.346, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9073/0.9086, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.4677/1.376, allocations: 369.8 MB / 1.45 GB, free: 11.26 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.05494/1.431, allocations: 33.31 MB / 1.482 GB, free: 9.859 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008956/1.44, allocations: 147.2 kB / 1.482 GB, free: 9.715 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.008163/1.449, allocations: 2.438 MB / 1.485 GB, free: 7.262 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.02277/1.472, allocations: 7.838 MB / 1.492 GB, free: 15.39 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01181/1.483, allocations: 4.568 MB / 1.497 GB, free: 10.84 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01859/1.502, allocations: 11.08 MB / 1.508 GB, free: 15.73 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00715/1.509, allocations: 3.98 MB / 1.512 GB, free: 11.69 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01422/1.523, allocations: 5.564 MB / 1.517 GB, free: 6.176 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007423/1.531, allocations: 3.45 MB / 1.52 GB, free: 2.723 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.00229/1.533, allocations: 0.5508 MB / 1.521 GB, free: 2.172 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01509/1.548, allocations: 6.816 MB / 1.528 GB, free: 11.34 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002868/1.551, allocations: 1.468 MB / 1.529 GB, free: 9.871 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.005584/1.557, allocations: 2.835 MB / 1.532 GB, free: 7.023 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01947/1.576, allocations: 9.754 MB / 1.541 GB, free: 13.24 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.576, allocations: 0 / 1.541 GB, free: 13.24 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.913e-06/1.576, allocations: 0 / 1.541 GB, free: 13.24 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002368/1.577, allocations: 0 / 1.541 GB, free: 13.24 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.01544/1.592, allocations: 5.935 MB / 1.547 GB, free: 7.203 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.592, allocations: 8.031 kB / 1.547 GB, free: 7.195 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02881/1.621, allocations: 4.29 MB / 1.551 GB, free: 2.895 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009227/1.63, allocations: 3.705 MB / 1.555 GB, free: 15.12 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/1.631, allocations: 308.9 kB / 1.555 GB, free: 14.81 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/1.632, allocations: 360 kB / 1.556 GB, free: 14.46 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/1.648, allocations: 5.697 MB / 1.561 GB, free: 8.68 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.848e-05/1.648, allocations: 4 kB / 1.561 GB, free: 8.676 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005009/1.649, allocations: 132 kB / 1.561 GB, free: 8.547 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/1.649, allocations: 134.5 kB / 1.561 GB, free: 8.414 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02177/1.671, allocations: 6.802 MB / 1.568 GB, free: 1.602 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.6786/2.349, allocations: 22.13 MB / 1.59 GB, free: 436.3 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.013/2.363, allocations: 4.062 MB / 1.594 GB, free: 435.2 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007667/2.37, allocations: 2.277 MB / 1.596 GB, free: 434.5 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01719/2.387, allocations: 8.175 MB / 1.604 GB, free: 429.6 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007444/2.395, allocations: 2.4 MB / 1.606 GB, free: 428.9 MB / 1.311 GB Notification: Performance of pre-optimization done (n=230): time 6.001e-06/2.395, allocations: 0 / 1.606 GB, free: 428.9 MB / 1.311 GB Notification: Performance of matching and sorting (n=230): time 0.03351/2.429, allocations: 8.427 MB / 1.614 GB, free: 426.4 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/2.429, allocations: 80.25 kB / 1.614 GB, free: 426.3 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/2.439, allocations: 4.283 MB / 1.619 GB, free: 424.8 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/2.44, allocations: 79.38 kB / 1.619 GB, free: 424.7 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001858/2.442, allocations: 1.816 MB / 1.621 GB, free: 423.3 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001396/2.443, allocations: 0.8081 MB / 1.621 GB, free: 422.7 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002109/2.445, allocations: 0.8021 MB / 1.622 GB, free: 422.4 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/2.445, allocations: 305.7 kB / 1.622 GB, free: 422.1 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009419/2.455, allocations: 2.716 MB / 1.625 GB, free: 421.3 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/2.466, allocations: 3.407 MB / 1.628 GB, free: 419.8 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.02066/2.486, allocations: 5.946 MB / 1.634 GB, free: 417.1 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.575e-05/2.487, allocations: 4.375 kB / 1.634 GB, free: 417.1 MB / 1.311 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03074/2.517, allocations: 7.55 MB / 1.642 GB, free: 414.6 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/2.517, allocations: 15.94 kB / 1.642 GB, free: 414.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.838e-05/2.518, allocations: 15.19 kB / 1.642 GB, free: 414.6 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003977/2.522, allocations: 0.9642 MB / 1.643 GB, free: 414.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009202/2.531, allocations: 1.415 MB / 1.644 GB, free: 414.2 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/2.547, allocations: 14.45 MB / 1.658 GB, free: 401 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01211/2.559, allocations: 1.177 MB / 1.659 GB, free: 400.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/2.561, allocations: 187.5 kB / 1.659 GB, free: 400.6 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.003851/2.565, allocations: 0.8602 MB / 1.66 GB, free: 400.1 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002076/2.567, allocations: 422.6 kB / 1.661 GB, free: 399.9 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02147/2.589, allocations: 5.789 MB / 1.666 GB, free: 397.7 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.519e-05/2.589, allocations: 27.83 kB / 1.666 GB, free: 397.7 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/2.589, allocations: 5.719 kB / 1.666 GB, free: 397.7 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.599e-05/2.589, allocations: 11.95 kB / 1.666 GB, free: 397.7 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03206/2.621, allocations: 10.92 MB / 1.677 GB, free: 390.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/2.621, allocations: 7.906 kB / 1.677 GB, free: 390.6 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004637/2.626, allocations: 0.6662 MB / 1.678 GB, free: 390.4 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/2.629, allocations: 0.7702 MB / 1.678 GB, free: 390 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007432/2.629, allocations: 88.58 kB / 1.678 GB, free: 390 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/2.641, allocations: 11.68 MB / 1.69 GB, free: 378.9 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/2.641, allocations: 3.969 kB / 1.69 GB, free: 378.9 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02637/2.668, allocations: 8.205 MB / 1.698 GB, free: 374.4 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003519/2.671, allocations: 1.059 MB / 1.699 GB, free: 373.6 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/2.673, allocations: 47.45 kB / 1.699 GB, free: 373.5 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006036/2.679, allocations: 0.5175 MB / 1.699 GB, free: 373.3 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004783/2.679, allocations: 174.1 kB / 1.7 GB, free: 373.2 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003923/2.68, allocations: 107.1 kB / 1.7 GB, free: 373.2 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.005726/2.685, allocations: 2.947 MB / 1.703 GB, free: 371.7 MB / 1.311 GB Notification: Performance of sort global known variables: time 6.11e-07/2.685, allocations: 0 / 1.703 GB, free: 371.7 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006607/2.692, allocations: 1.542 MB / 1.704 GB, free: 371.4 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.003129/2.695, allocations: 1.06 MB / 1.705 GB, free: 371 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02045/2.716, allocations: 6.377 MB / 1.711 GB, free: 365.2 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/2.716, allocations: 0 / 1.711 GB, free: 365.2 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.008354/2.724, allocations: 3.035 MB / 1.714 GB, free: 362.1 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01333/2.737, allocations: 2.085 MB / 1.716 GB, free: 360 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/2.766, allocations: 9.264 MB / 1.725 GB, free: 350.7 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002758/2.768, allocations: 2.298 MB / 1.728 GB, free: 348.4 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003455/2.772, allocations: 427.1 kB / 1.728 GB, free: 348 MB / 1.311 GB Notification: Performance of SimCode: time 8.82e-07/2.772, allocations: 0 / 1.728 GB, free: 348 MB / 1.311 GB Notification: Performance of Templates: time 0.2041/2.976, allocations: 260.4 MB / 1.982 GB, free: 87.59 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/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