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.007154/0.007154, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001633/0.001633, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.186/2.186, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7908/0.7923, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.3848/1.177, allocations: 369.8 MB / 1.449 GB, free: 11.31 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.04872/1.226, allocations: 33.3 MB / 1.481 GB, free: 9.918 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006449/1.232, allocations: 155.1 kB / 1.481 GB, free: 9.766 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.006813/1.239, allocations: 2.36 MB / 1.484 GB, free: 7.391 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0201/1.259, allocations: 7.51 MB / 1.491 GB, free: 15.85 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01123/1.271, allocations: 4.527 MB / 1.495 GB, free: 11.34 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01568/1.286, allocations: 11.06 MB / 1.506 GB, free: 260 kB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006331/1.293, allocations: 3.973 MB / 1.51 GB, free: 12.22 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01304/1.306, allocations: 5.441 MB / 1.515 GB, free: 6.828 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006225/1.312, allocations: 3.453 MB / 1.519 GB, free: 3.371 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001548/1.314, allocations: 0.5469 MB / 1.519 GB, free: 2.824 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01377/1.327, allocations: 6.803 MB / 1.526 GB, free: 12.01 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002566/1.33, allocations: 1.46 MB / 1.527 GB, free: 10.54 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.005777/1.336, allocations: 2.839 MB / 1.53 GB, free: 7.691 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01895/1.355, allocations: 9.758 MB / 1.54 GB, free: 13.91 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.355, allocations: 0 / 1.54 GB, free: 13.91 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.114e-06/1.355, allocations: 0 / 1.54 GB, free: 13.91 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002617/1.355, allocations: 0 / 1.54 GB, free: 13.91 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.01605/1.371, allocations: 5.943 MB / 1.545 GB, free: 7.859 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.371, allocations: 11.97 kB / 1.545 GB, free: 7.848 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008739/1.372, allocations: 451.8 kB / 1.546 GB, free: 7.395 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03012/1.402, allocations: 4.294 MB / 1.55 GB, free: 3.09 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008641/1.411, allocations: 3.698 MB / 1.554 GB, free: 15.32 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/1.411, allocations: 308.9 kB / 1.554 GB, free: 15.02 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/1.412, allocations: 356 kB / 1.554 GB, free: 14.67 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/1.428, allocations: 5.697 MB / 1.56 GB, free: 8.887 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-05/1.428, allocations: 3.938 kB / 1.56 GB, free: 8.883 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004907/1.429, allocations: 136 kB / 1.56 GB, free: 8.75 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/1.429, allocations: 130.5 kB / 1.56 GB, free: 8.621 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/1.45, allocations: 6.798 MB / 1.567 GB, free: 1.812 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.6075/2.057, allocations: 22.13 MB / 1.588 GB, free: 437 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/2.071, allocations: 4.064 MB / 1.592 GB, free: 436 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007452/2.078, allocations: 2.267 MB / 1.595 GB, free: 435.3 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01653/2.095, allocations: 8.175 MB / 1.603 GB, free: 430.4 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007927/2.103, allocations: 2.403 MB / 1.605 GB, free: 429.7 MB / 1.311 GB Notification: Performance of pre-optimization done (n=230): time 6.442e-06/2.103, allocations: 0 / 1.605 GB, free: 429.7 MB / 1.311 GB Notification: Performance of matching and sorting (n=230): time 0.03526/2.138, allocations: 8.43 MB / 1.613 GB, free: 427.1 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/2.138, allocations: 80.95 kB / 1.613 GB, free: 427.1 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/2.148, allocations: 4.286 MB / 1.617 GB, free: 425.5 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0008261/2.149, allocations: 84.27 kB / 1.617 GB, free: 425.5 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001698/2.151, allocations: 1.812 MB / 1.619 GB, free: 424.1 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/2.152, allocations: 0.7963 MB / 1.62 GB, free: 423.5 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001938/2.154, allocations: 0.8106 MB / 1.621 GB, free: 423.2 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 4.884e-05/2.154, allocations: 305.6 kB / 1.621 GB, free: 422.9 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00973/2.164, allocations: 2.715 MB / 1.624 GB, free: 422.1 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/2.175, allocations: 3.409 MB / 1.627 GB, free: 420.5 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.01987/2.195, allocations: 5.939 MB / 1.633 GB, free: 417.9 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.992e-05/2.195, allocations: 4.281 kB / 1.633 GB, free: 417.9 MB / 1.311 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02979/2.224, allocations: 7.549 MB / 1.64 GB, free: 415.4 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/2.224, allocations: 11 kB / 1.64 GB, free: 415.4 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/2.225, allocations: 23.33 kB / 1.64 GB, free: 415.4 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004027/2.229, allocations: 0.9706 MB / 1.641 GB, free: 415.1 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009173/2.238, allocations: 1.412 MB / 1.643 GB, free: 415 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/2.253, allocations: 14.45 MB / 1.657 GB, free: 401.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01148/2.264, allocations: 1.17 MB / 1.658 GB, free: 401.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001577/2.266, allocations: 185.6 kB / 1.658 GB, free: 401.4 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.004143/2.27, allocations: 0.8664 MB / 1.659 GB, free: 400.9 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002336/2.273, allocations: 425.9 kB / 1.659 GB, free: 400.7 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02335/2.296, allocations: 5.796 MB / 1.665 GB, free: 398.6 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/2.296, allocations: 24.69 kB / 1.665 GB, free: 398.6 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/2.296, allocations: 0 / 1.665 GB, free: 398.6 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.818e-05/2.296, allocations: 11.95 kB / 1.665 GB, free: 398.6 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02998/2.326, allocations: 10.92 MB / 1.676 GB, free: 391.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.883e-05/2.326, allocations: 8 kB / 1.676 GB, free: 391.6 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004728/2.331, allocations: 0.6692 MB / 1.676 GB, free: 391.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003091/2.334, allocations: 0.7632 MB / 1.677 GB, free: 390.9 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006835/2.335, allocations: 83.56 kB / 1.677 GB, free: 390.9 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/2.346, allocations: 11.68 MB / 1.689 GB, free: 379.8 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/2.346, allocations: 3.938 kB / 1.689 GB, free: 379.8 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02752/2.374, allocations: 8.211 MB / 1.697 GB, free: 375.4 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003176/2.377, allocations: 1.062 MB / 1.698 GB, free: 374.5 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/2.379, allocations: 47.52 kB / 1.698 GB, free: 374.4 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00773/2.386, allocations: 0.5253 MB / 1.698 GB, free: 374.2 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007403/2.387, allocations: 169.5 kB / 1.698 GB, free: 374.1 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007161/2.388, allocations: 110.5 kB / 1.698 GB, free: 374.1 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.006465/2.394, allocations: 2.949 MB / 1.701 GB, free: 372.6 MB / 1.311 GB Notification: Performance of sort global known variables: time 3.71e-07/2.394, allocations: 0 / 1.701 GB, free: 372.6 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006681/2.401, allocations: 1.535 MB / 1.703 GB, free: 372.3 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.02872/2.43, allocations: 9.614 MB / 1.712 GB, free: 364.3 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01971/2.45, allocations: 6.38 MB / 1.718 GB, free: 357.9 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/2.45, allocations: 8 kB / 1.718 GB, free: 357.9 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.00799/2.458, allocations: 3.04 MB / 1.721 GB, free: 354.8 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01139/2.469, allocations: 2.094 MB / 1.723 GB, free: 352.7 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1079/2.577, allocations: 39.63 MB / 1.762 GB, free: 312.4 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/2.579, allocations: 2.298 MB / 1.764 GB, free: 310 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.005931/2.585, allocations: 1.046 MB / 1.765 GB, free: 309 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003511/2.589, allocations: 1.807 MB / 1.767 GB, free: 307.2 MB / 1.311 GB Notification: Performance of SimCode: time 1.082e-06/2.589, allocations: 0 / 1.767 GB, free: 307.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/2.761, allocations: 125.9 MB / 1.89 GB, free: 182.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.42/23.18, allocations: 7.938 kB / 1.89 GB, free: 182.1 MB / 1.311 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