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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007841/0.007841, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001771/0.001771, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.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.27/2.27, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.95 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.272, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.041/1.313, allocations: 369.8 MB / 1.449 GB, free: 11.65 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.04989/1.363, allocations: 33.31 MB / 1.481 GB, free: 12.68 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007802/1.371, allocations: 155.1 kB / 1.481 GB, free: 12.53 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.007431/1.379, allocations: 2.442 MB / 1.484 GB, free: 10.07 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0237/1.402, allocations: 7.829 MB / 1.491 GB, free: 2.215 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01308/1.415, allocations: 4.573 MB / 1.496 GB, free: 13.67 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01809/1.433, allocations: 11.08 MB / 1.507 GB, free: 2.555 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00892/1.442, allocations: 3.976 MB / 1.51 GB, free: 14.52 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01644/1.459, allocations: 5.563 MB / 1.516 GB, free: 9 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007321/1.466, allocations: 3.453 MB / 1.519 GB, free: 5.547 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002328/1.469, allocations: 0.5469 MB / 1.52 GB, free: 5 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01649/1.485, allocations: 6.822 MB / 1.526 GB, free: 14.16 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002891/1.488, allocations: 1.464 MB / 1.528 GB, free: 12.7 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.006522/1.495, allocations: 2.831 MB / 1.531 GB, free: 9.852 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.02564/1.52, allocations: 9.796 MB / 1.54 GB, free: 24 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.52, allocations: 0 / 1.54 GB, free: 24 kB / 1.154 GB Notification: Performance of FrontEnd: time 2.225e-06/1.52, allocations: 0 / 1.54 GB, free: 24 kB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0003572/1.521, allocations: 0 / 1.54 GB, free: 24 kB / 1.154 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.01909/1.54, allocations: 6.118 MB / 1.546 GB, free: 9.793 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.54, allocations: 8.031 kB / 1.546 GB, free: 9.785 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001322/1.541, allocations: 451.8 kB / 1.547 GB, free: 9.332 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0313/1.573, allocations: 4.316 MB / 1.551 GB, free: 5.008 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009843/1.582, allocations: 3.719 MB / 1.554 GB, free: 1.227 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/1.583, allocations: 316.9 kB / 1.555 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/1.585, allocations: 356 kB / 1.555 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01895/1.604, allocations: 5.689 MB / 1.561 GB, free: 10.79 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/1.604, allocations: 3.938 kB / 1.561 GB, free: 10.79 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001174/1.605, allocations: 140 kB / 1.561 GB, free: 10.65 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001529/1.605, allocations: 134.5 kB / 1.561 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02311/1.628, allocations: 6.798 MB / 1.568 GB, free: 3.707 MB / 1.186 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.05089/1.679, allocations: 22.17 MB / 1.589 GB, free: 12.4 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01689/1.696, allocations: 4.07 MB / 1.593 GB, free: 8.332 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007473/1.704, allocations: 2.262 MB / 1.595 GB, free: 6.066 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02414/1.728, allocations: 8.173 MB / 1.603 GB, free: 13.52 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.012/1.74, allocations: 2.397 MB / 1.606 GB, free: 11.11 MB / 1.232 GB Notification: Performance of pre-optimization done (n=230): time 9.137e-06/1.74, allocations: 0 / 1.606 GB, free: 11.11 MB / 1.232 GB Notification: Performance of matching and sorting (n=230): time 0.03963/1.779, allocations: 8.459 MB / 1.614 GB, free: 2.512 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/1.78, allocations: 81.34 kB / 1.614 GB, free: 2.422 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.79, allocations: 4.285 MB / 1.618 GB, free: 14.11 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0008564/1.791, allocations: 77.7 kB / 1.618 GB, free: 14.03 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002363/1.793, allocations: 1.856 MB / 1.62 GB, free: 12.16 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/1.795, allocations: 0.8405 MB / 1.621 GB, free: 11.32 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00374/1.799, allocations: 0.8044 MB / 1.622 GB, free: 10.5 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.799, allocations: 305.1 kB / 1.622 GB, free: 10.2 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009909/1.809, allocations: 2.72 MB / 1.625 GB, free: 7.48 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01085/1.82, allocations: 3.404 MB / 1.628 GB, free: 3.84 MB / 1.248 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/1.84, allocations: 5.941 MB / 1.634 GB, free: 13.65 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.631e-05/1.84, allocations: 4 kB / 1.634 GB, free: 13.65 MB / 1.264 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03164/1.872, allocations: 7.577 MB / 1.641 GB, free: 6.008 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/1.872, allocations: 12 kB / 1.641 GB, free: 5.996 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/1.872, allocations: 12 kB / 1.641 GB, free: 5.984 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004288/1.877, allocations: 0.9718 MB / 1.642 GB, free: 4.984 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009162/1.886, allocations: 1.408 MB / 1.644 GB, free: 3.574 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/1.903, allocations: 14.46 MB / 1.658 GB, free: 4.02 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01059/1.914, allocations: 1.176 MB / 1.659 GB, free: 2.84 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/1.915, allocations: 183.8 kB / 1.659 GB, free: 2.66 MB / 1.279 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.003308/1.919, allocations: 0.8601 MB / 1.66 GB, free: 1.789 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002139/1.921, allocations: 445.1 kB / 1.66 GB, free: 1.352 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02331/1.944, allocations: 5.793 MB / 1.666 GB, free: 11.52 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.662e-05/1.944, allocations: 27.98 kB / 1.666 GB, free: 11.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/1.944, allocations: 3.938 kB / 1.666 GB, free: 11.49 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.764e-05/1.944, allocations: 11.95 kB / 1.666 GB, free: 11.48 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03318/1.977, allocations: 10.93 MB / 1.677 GB, free: 392 kB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.417e-05/1.978, allocations: 4 kB / 1.677 GB, free: 388 kB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004883/1.982, allocations: 0.6713 MB / 1.677 GB, free: 15.71 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003288/1.986, allocations: 0.7637 MB / 1.678 GB, free: 14.92 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006847/1.986, allocations: 83.91 kB / 1.678 GB, free: 14.84 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/2, allocations: 11.69 MB / 1.69 GB, free: 2.23 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/2, allocations: 4 kB / 1.69 GB, free: 2.227 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02993/2.03, allocations: 8.236 MB / 1.698 GB, free: 9.891 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003588/2.034, allocations: 1.083 MB / 1.699 GB, free: 8.785 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002053/2.036, allocations: 47.98 kB / 1.699 GB, free: 8.738 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007062/2.043, allocations: 0.5229 MB / 1.699 GB, free: 8.215 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000723/2.044, allocations: 165.6 kB / 1.699 GB, free: 8.051 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006628/2.045, allocations: 115.9 kB / 1.7 GB, free: 7.938 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.007333/2.052, allocations: 2.943 MB / 1.702 GB, free: 4.992 MB / 1.326 GB Notification: Performance of sort global known variables: time 8.62e-07/2.052, allocations: 0 / 1.702 GB, free: 4.992 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.00646/2.058, allocations: 1.541 MB / 1.704 GB, free: 3.449 MB / 1.326 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.03183/2.09, allocations: 9.653 MB / 1.713 GB, free: 9.828 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.02259/2.113, allocations: 6.389 MB / 1.72 GB, free: 3.375 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/2.113, allocations: 0 / 1.72 GB, free: 3.375 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.009476/2.123, allocations: 3.046 MB / 1.723 GB, free: 260 kB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01264/2.135, allocations: 2.089 MB / 1.725 GB, free: 14.18 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.131/2.266, allocations: 39.78 MB / 1.763 GB, free: 5.602 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00403/2.27, allocations: 2.302 MB / 1.766 GB, free: 3.27 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.007253/2.278, allocations: 1.049 MB / 1.767 GB, free: 2.219 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005148/2.283, allocations: 1.8 MB / 1.768 GB, free: 428 kB / 1.389 GB Notification: Performance of SimCode: time 2.184e-06/2.283, allocations: 7.938 kB / 1.768 GB, free: 420 kB / 1.389 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8006/3.083, allocations: 125.9 MB / 1.891 GB, free: 0.4976 GB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.37/23.46, allocations: 5.656 kB / 1.891 GB, free: 0.4976 GB / 1.42 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.csv","/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