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.001277/0.001277, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001373/0.001373, allocations: 187 kB / 17.34 MB, free: 5.762 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.16 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.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 71.89 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.022, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.4146/1.437, allocations: 369.8 MB / 1.45 GB, free: 11.31 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.05433/1.491, allocations: 33.32 MB / 1.482 GB, free: 9.895 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009212/1.501, allocations: 151.1 kB / 1.482 GB, free: 9.746 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.01121/1.512, allocations: 2.364 MB / 1.485 GB, free: 7.367 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.02839/1.54, allocations: 7.496 MB / 1.492 GB, free: 15.84 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01466/1.555, allocations: 4.533 MB / 1.496 GB, free: 11.32 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01913/1.574, allocations: 11.05 MB / 1.507 GB, free: 244 kB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009084/1.583, allocations: 3.98 MB / 1.511 GB, free: 12.2 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/1.6, allocations: 5.503 MB / 1.517 GB, free: 6.738 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008058/1.608, allocations: 3.447 MB / 1.52 GB, free: 3.289 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002684/1.611, allocations: 0.5469 MB / 1.52 GB, free: 2.742 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01722/1.628, allocations: 6.81 MB / 1.527 GB, free: 11.92 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.00349/1.632, allocations: 1.468 MB / 1.529 GB, free: 10.45 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.007497/1.639, allocations: 2.827 MB / 1.531 GB, free: 7.609 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02414/1.664, allocations: 9.754 MB / 1.541 GB, free: 13.83 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/1.664, allocations: 0 / 1.541 GB, free: 13.83 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.395e-06/1.664, allocations: 0 / 1.541 GB, free: 13.83 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003061/1.664, allocations: 0 / 1.541 GB, free: 13.83 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.02203/1.686, allocations: 5.943 MB / 1.547 GB, free: 7.781 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/1.686, allocations: 8.031 kB / 1.547 GB, free: 7.773 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03092/1.717, allocations: 4.294 MB / 1.551 GB, free: 3.469 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/1.728, allocations: 3.714 MB / 1.554 GB, free: 15.69 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005173/1.729, allocations: 305 kB / 1.555 GB, free: 15.38 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/1.731, allocations: 352 kB / 1.555 GB, free: 15.04 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02014/1.751, allocations: 5.689 MB / 1.561 GB, free: 9.266 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/1.751, allocations: 3.938 kB / 1.561 GB, free: 9.262 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00135/1.753, allocations: 136 kB / 1.561 GB, free: 9.129 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/1.753, allocations: 134.5 kB / 1.561 GB, free: 8.996 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02335/1.776, allocations: 6.806 MB / 1.568 GB, free: 2.18 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.8342/2.61, allocations: 22.12 MB / 1.589 GB, free: 437.3 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/2.624, allocations: 4.065 MB / 1.593 GB, free: 436.3 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007666/2.632, allocations: 2.265 MB / 1.595 GB, free: 435.6 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01748/2.649, allocations: 8.182 MB / 1.603 GB, free: 430.7 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007984/2.657, allocations: 2.395 MB / 1.606 GB, free: 430 MB / 1.311 GB Notification: Performance of pre-optimization done (n=230): time 5.48e-06/2.657, allocations: 3.219 kB / 1.606 GB, free: 430 MB / 1.311 GB Notification: Performance of matching and sorting (n=230): time 0.03774/2.695, allocations: 8.432 MB / 1.614 GB, free: 427.5 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/2.695, allocations: 80.75 kB / 1.614 GB, free: 427.4 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01365/2.709, allocations: 4.284 MB / 1.618 GB, free: 425.9 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/2.71, allocations: 76.73 kB / 1.618 GB, free: 425.8 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002544/2.712, allocations: 1.82 MB / 1.62 GB, free: 424.5 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/2.714, allocations: 0.7973 MB / 1.621 GB, free: 423.9 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004667/2.719, allocations: 0.8022 MB / 1.622 GB, free: 423.5 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 6.147e-05/2.719, allocations: 307.1 kB / 1.622 GB, free: 423.2 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01059/2.729, allocations: 2.72 MB / 1.624 GB, free: 422.4 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01171/2.741, allocations: 3.412 MB / 1.628 GB, free: 420.9 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.0232/2.764, allocations: 5.932 MB / 1.634 GB, free: 418.3 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-05/2.765, allocations: 8.406 kB / 1.634 GB, free: 418.3 MB / 1.311 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03386/2.798, allocations: 7.557 MB / 1.641 GB, free: 415.7 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/2.799, allocations: 13.31 kB / 1.641 GB, free: 415.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.448e-05/2.799, allocations: 15.09 kB / 1.641 GB, free: 415.7 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004314/2.803, allocations: 0.9628 MB / 1.642 GB, free: 415.5 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009628/2.813, allocations: 1.418 MB / 1.643 GB, free: 415.3 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/2.828, allocations: 14.45 MB / 1.657 GB, free: 402.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/2.84, allocations: 1.178 MB / 1.659 GB, free: 401.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/2.841, allocations: 181.8 kB / 1.659 GB, free: 401.8 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.003978/2.845, allocations: 0.8684 MB / 1.66 GB, free: 401.2 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002533/2.848, allocations: 422.1 kB / 1.66 GB, free: 401 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02576/2.874, allocations: 5.783 MB / 1.666 GB, free: 399 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.708e-05/2.874, allocations: 28.33 kB / 1.666 GB, free: 399 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.382e-05/2.874, allocations: 3.938 kB / 1.666 GB, free: 399 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.629e-05/2.874, allocations: 11.95 kB / 1.666 GB, free: 399 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.035/2.909, allocations: 10.93 MB / 1.676 GB, free: 391.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.705e-05/2.909, allocations: 3.906 kB / 1.676 GB, free: 391.9 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004902/2.914, allocations: 0.6621 MB / 1.677 GB, free: 391.7 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/2.917, allocations: 0.765 MB / 1.678 GB, free: 391.3 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008393/2.918, allocations: 79.66 kB / 1.678 GB, free: 391.2 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/2.93, allocations: 11.68 MB / 1.689 GB, free: 380.1 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/2.93, allocations: 11.81 kB / 1.689 GB, free: 380.1 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02835/2.958, allocations: 8.207 MB / 1.697 GB, free: 375.7 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003499/2.962, allocations: 1.066 MB / 1.698 GB, free: 374.8 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002041/2.964, allocations: 51.39 kB / 1.698 GB, free: 374.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007341/2.971, allocations: 0.5209 MB / 1.699 GB, free: 374.6 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008466/2.972, allocations: 171.9 kB / 1.699 GB, free: 374.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007748/2.973, allocations: 110.1 kB / 1.699 GB, free: 374.4 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.007425/2.981, allocations: 2.945 MB / 1.702 GB, free: 372.9 MB / 1.311 GB Notification: Performance of sort global known variables: time 7.81e-07/2.981, allocations: 0 / 1.702 GB, free: 372.9 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.007602/2.988, allocations: 1.534 MB / 1.704 GB, free: 372.6 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.003117/2.991, allocations: 1.044 MB / 1.705 GB, free: 372.2 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02214/3.014, allocations: 6.383 MB / 1.711 GB, free: 367 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/3.014, allocations: 0 / 1.711 GB, free: 367 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.008849/3.022, allocations: 3.041 MB / 1.714 GB, free: 363.9 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01257/3.035, allocations: 2.089 MB / 1.716 GB, free: 361.8 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02902/3.064, allocations: 9.259 MB / 1.725 GB, free: 352.5 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002621/3.067, allocations: 2.294 MB / 1.727 GB, free: 350.2 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003427/3.07, allocations: 427.1 kB / 1.728 GB, free: 349.8 MB / 1.311 GB Notification: Performance of SimCode: time 1.613e-06/3.07, allocations: 0 / 1.728 GB, free: 349.8 MB / 1.311 GB Notification: Performance of Templates: time 0.1975/3.268, allocations: 260.4 MB / 1.982 GB, free: 89.36 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