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.001687/0.001687, allocations: 108 kB / 15.61 MB, free: 148 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.001952/0.001952, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.379/2.379, allocations: 390.3 MB / 0.6647 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 67.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.6325, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9124/1.545, allocations: 369.7 MB / 1.311 GB, free: 26.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04229/1.587, allocations: 33.31 MB / 1.343 GB, free: 25.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00699/1.594, allocations: 151.8 kB / 1.343 GB, free: 25.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006232/1.601, allocations: 2.365 MB / 1.346 GB, free: 25.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02013/1.621, allocations: 7.5 MB / 1.353 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01102/1.632, allocations: 4.52 MB / 1.358 GB, free: 25.4 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0146/1.646, allocations: 11.04 MB / 1.368 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0059/1.652, allocations: 3.972 MB / 1.372 GB, free: 23.54 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/1.666, allocations: 5.42 MB / 1.377 GB, free: 21.79 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006252/1.672, allocations: 3.449 MB / 1.381 GB, free: 20.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001462/1.674, allocations: 0.5473 MB / 1.381 GB, free: 20.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01445/1.688, allocations: 6.744 MB / 1.388 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002664/1.691, allocations: 1.472 MB / 1.389 GB, free: 16.72 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006882/1.698, allocations: 2.832 MB / 1.392 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01742/1.715, allocations: 9.656 MB / 1.402 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.715, allocations: 4 kB / 1.402 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/1.715, allocations: 4 kB / 1.402 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002066/1.715, allocations: 0 / 1.402 GB, free: 8.25 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.01365/1.729, allocations: 5.943 MB / 1.407 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.729, allocations: 8.031 kB / 1.407 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000501/1.73, allocations: 447.8 kB / 1.408 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03079/1.76, allocations: 4.287 MB / 1.412 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009179/1.77, allocations: 3.553 MB / 1.415 GB, free: 10.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001621/1.771, allocations: 0.5194 MB / 1.416 GB, free: 9.559 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/1.773, allocations: 355.9 kB / 1.416 GB, free: 9.211 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/1.791, allocations: 5.715 MB / 1.422 GB, free: 3.426 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/1.792, allocations: 4 kB / 1.422 GB, free: 3.422 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/1.793, allocations: 134.4 kB / 1.422 GB, free: 3.293 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/1.793, allocations: 134.5 kB / 1.422 GB, free: 3.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02351/1.816, allocations: 6.844 MB / 1.429 GB, free: 12.32 MB / 1.029 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.04707/1.864, allocations: 22.31 MB / 1.451 GB, free: 5.262 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/1.876, allocations: 4.062 MB / 1.455 GB, free: 1.215 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007343/1.883, allocations: 2.266 MB / 1.457 GB, free: 14.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01648/1.9, allocations: 8.184 MB / 1.465 GB, free: 6.469 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007778/1.908, allocations: 2.4 MB / 1.467 GB, free: 4.059 MB / 1.061 GB Notification: Performance of pre-optimization done (n=230): time 5.23e-06/1.908, allocations: 0 / 1.467 GB, free: 4.059 MB / 1.061 GB Notification: Performance of matching and sorting (n=230): time 0.035/1.943, allocations: 8.429 MB / 1.475 GB, free: 11.51 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/1.943, allocations: 73.41 kB / 1.475 GB, free: 11.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009116/1.952, allocations: 4.308 MB / 1.48 GB, free: 7.098 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000625/1.953, allocations: 73.7 kB / 1.48 GB, free: 7.02 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0018/1.955, allocations: 1.822 MB / 1.482 GB, free: 5.199 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.956, allocations: 0.7988 MB / 1.482 GB, free: 4.406 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002666/1.958, allocations: 0.8103 MB / 1.483 GB, free: 3.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/1.958, allocations: 305.1 kB / 1.483 GB, free: 3.289 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009571/1.968, allocations: 2.739 MB / 1.486 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/1.978, allocations: 3.414 MB / 1.489 GB, free: 12.91 MB / 1.092 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.01989/1.998, allocations: 5.974 MB / 1.495 GB, free: 6.738 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.731e-05/1.998, allocations: 4 kB / 1.495 GB, free: 6.734 MB / 1.092 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.0302/2.029, allocations: 7.586 MB / 1.503 GB, free: 15.18 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/2.029, allocations: 15.94 kB / 1.503 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/2.029, allocations: 12 kB / 1.503 GB, free: 15.15 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/2.033, allocations: 0.969 MB / 1.504 GB, free: 14.16 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009556/2.042, allocations: 1.413 MB / 1.505 GB, free: 12.79 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/2.06, allocations: 14.47 MB / 1.519 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01195/2.072, allocations: 1.198 MB / 1.52 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/2.073, allocations: 189.8 kB / 1.52 GB, free: 11.93 MB / 1.123 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.003247/2.076, allocations: 0.8534 MB / 1.521 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002368/2.079, allocations: 426.8 kB / 1.522 GB, free: 10.68 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02386/2.103, allocations: 5.796 MB / 1.527 GB, free: 4.875 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/2.103, allocations: 28 kB / 1.527 GB, free: 4.848 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/2.103, allocations: 0 / 1.527 GB, free: 4.848 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-05/2.103, allocations: 15.89 kB / 1.527 GB, free: 4.832 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03456/2.137, allocations: 10.92 MB / 1.538 GB, free: 9.852 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.693e-05/2.137, allocations: 8.031 kB / 1.538 GB, free: 9.844 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005198/2.143, allocations: 0.671 MB / 1.539 GB, free: 9.191 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003534/2.146, allocations: 0.7591 MB / 1.539 GB, free: 8.41 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007813/2.147, allocations: 83.91 kB / 1.54 GB, free: 8.328 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/2.161, allocations: 11.69 MB / 1.551 GB, free: 11.78 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/2.161, allocations: 6.531 kB / 1.551 GB, free: 11.78 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03051/2.192, allocations: 8.218 MB / 1.559 GB, free: 3.48 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003023/2.195, allocations: 1.062 MB / 1.56 GB, free: 2.395 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00182/2.197, allocations: 47.94 kB / 1.56 GB, free: 2.348 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007435/2.204, allocations: 0.5417 MB / 1.561 GB, free: 1.809 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006602/2.205, allocations: 168.2 kB / 1.561 GB, free: 1.645 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005831/2.205, allocations: 107.9 kB / 1.561 GB, free: 1.539 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.007868/2.213, allocations: 2.969 MB / 1.564 GB, free: 14.57 MB / 1.17 GB Notification: Performance of sort global known variables: time 5.21e-07/2.213, allocations: 0 / 1.564 GB, free: 14.57 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.006806/2.22, allocations: 1.537 MB / 1.565 GB, free: 13.03 MB / 1.17 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.03293/2.253, allocations: 9.615 MB / 1.575 GB, free: 3.566 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02756/2.281, allocations: 7.051 MB / 1.582 GB, free: 12.55 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/2.281, allocations: 0 / 1.582 GB, free: 12.55 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.009843/2.291, allocations: 3.033 MB / 1.585 GB, free: 9.492 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/2.304, allocations: 2.101 MB / 1.587 GB, free: 7.473 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1341/2.438, allocations: 46.81 MB / 1.632 GB, free: 5.637 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002993/2.441, allocations: 2.305 MB / 1.635 GB, free: 3.305 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00774/2.449, allocations: 1.041 MB / 1.636 GB, free: 2.27 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004095/2.453, allocations: 1.803 MB / 1.637 GB, free: 476 kB / 1.232 GB Notification: Performance of SimCode: time 7.71e-07/2.453, allocations: 0 / 1.637 GB, free: 476 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6688/3.122, allocations: 128.7 MB / 1.763 GB, free: 0.5676 GB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/17.87, allocations: 5.625 kB / 1.763 GB, free: 0.5676 GB / 1.326 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