Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",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.005535/0.005535, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.001599/0.001599, allocations: 193.2 kB / 16.68 MB, free: 5.484 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.94/2.94, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002586, allocations: 71.89 kB / 1.065 GB, free: 13.59 MB / 0.8263 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3731, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8349/1.208, allocations: 274.6 MB / 1.488 GB, free: 2.766 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02429/1.232, allocations: 17.37 MB / 1.505 GB, free: 1.344 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/1.234, allocations: 67.62 kB / 1.505 GB, free: 1.277 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002901/1.237, allocations: 1.157 MB / 1.507 GB, free: 116 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007473/1.245, allocations: 3.107 MB / 1.51 GB, free: 13 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00515/1.25, allocations: 2.202 MB / 1.512 GB, free: 10.8 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00629/1.256, allocations: 4.842 MB / 1.516 GB, free: 5.941 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002626/1.259, allocations: 1.77 MB / 1.518 GB, free: 4.141 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/1.264, allocations: 2.42 MB / 1.521 GB, free: 1.727 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002818/1.267, allocations: 1.54 MB / 1.522 GB, free: 204 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003075/1.267, allocations: 192 kB / 1.522 GB, free: 12 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/1.273, allocations: 3.02 MB / 1.525 GB, free: 12.98 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007555/1.274, allocations: 0.7284 MB / 1.526 GB, free: 12.25 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/1.275, allocations: 1.112 MB / 1.527 GB, free: 11.14 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004951/1.28, allocations: 3.843 MB / 1.531 GB, free: 7.281 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/1.28, allocations: 0 / 1.531 GB, free: 7.281 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.222e-06/1.28, allocations: 0 / 1.531 GB, free: 7.281 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.892e-05/1.28, allocations: 0 / 1.531 GB, free: 7.281 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.00404/1.284, allocations: 2.49 MB / 1.533 GB, free: 4.719 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/1.284, allocations: 12.03 kB / 1.533 GB, free: 4.707 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000262/1.284, allocations: 198.1 kB / 1.533 GB, free: 4.504 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004494/1.289, allocations: 0.6544 MB / 1.534 GB, free: 3.848 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/1.291, allocations: 1.413 MB / 1.535 GB, free: 2.379 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-05/1.291, allocations: 98.55 kB / 1.535 GB, free: 2.281 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/1.291, allocations: 140 kB / 1.536 GB, free: 2.145 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/1.294, allocations: 1.569 MB / 1.537 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/1.294, allocations: 7.875 kB / 1.537 GB, free: 0.5 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/1.294, allocations: 59.94 kB / 1.537 GB, free: 452 kB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.382e-05/1.294, allocations: 46.45 kB / 1.537 GB, free: 404 kB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/1.296, allocations: 1.267 MB / 1.538 GB, free: 15.12 MB / 1.233 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.008929/1.305, allocations: 7.227 MB / 1.546 GB, free: 7.332 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/1.307, allocations: 0.6504 MB / 1.546 GB, free: 6.676 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005881/1.307, allocations: 378.1 kB / 1.547 GB, free: 6.305 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/1.307, allocations: 105.6 kB / 1.547 GB, free: 6.184 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/1.308, allocations: 51.03 kB / 1.547 GB, free: 6.121 MB / 1.233 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003954/1.308, allocations: 95.39 kB / 1.547 GB, free: 6.027 MB / 1.233 GB Notification: Performance of pre-optimization done (n=67): time 1.914e-06/1.308, allocations: 0 / 1.547 GB, free: 6.027 MB / 1.233 GB Notification: Performance of matching and sorting (n=67): time 0.002013/1.31, allocations: 1.029 MB / 1.548 GB, free: 4.996 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/1.31, allocations: 55.97 kB / 1.548 GB, free: 4.93 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/1.312, allocations: 1.347 MB / 1.549 GB, free: 3.574 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-05/1.312, allocations: 45.7 kB / 1.549 GB, free: 3.523 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006843/1.313, allocations: 0.7907 MB / 1.55 GB, free: 2.727 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/1.313, allocations: 257.8 kB / 1.55 GB, free: 2.473 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/1.313, allocations: 198.5 kB / 1.55 GB, free: 2.273 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.313, allocations: 349.9 kB / 1.551 GB, free: 1.926 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006147/1.314, allocations: 356.7 kB / 1.551 GB, free: 1.574 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009185/1.315, allocations: 0.683 MB / 1.552 GB, free: 0.7539 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/1.316, allocations: 0.945 MB / 1.553 GB, free: 15.71 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/1.316, allocations: 8 kB / 1.553 GB, free: 15.71 MB / 1.248 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00191/1.318, allocations: 1.156 MB / 1.554 GB, free: 14.55 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.318, allocations: 8 kB / 1.554 GB, free: 14.54 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.318, allocations: 8 kB / 1.554 GB, free: 14.53 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/1.318, allocations: 12 kB / 1.554 GB, free: 14.52 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009056/1.319, allocations: 207.7 kB / 1.554 GB, free: 14.32 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/1.319, allocations: 15.94 kB / 1.554 GB, free: 14.3 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.32, allocations: 49.5 kB / 1.554 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.952e-05/1.321, allocations: 43.98 kB / 1.554 GB, free: 14.21 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00108/1.322, allocations: 0.6855 MB / 1.555 GB, free: 13.52 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009082/1.323, allocations: 0.6829 MB / 1.555 GB, free: 12.7 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001405/1.324, allocations: 0.9488 MB / 1.556 GB, free: 11.66 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.165e-06/1.324, allocations: 3.938 kB / 1.556 GB, free: 11.66 MB / 1.248 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001895/1.326, allocations: 1.165 MB / 1.558 GB, free: 10.49 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.326, allocations: 10.03 kB / 1.558 GB, free: 10.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.326, allocations: 8.906 kB / 1.558 GB, free: 10.47 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.326, allocations: 12 kB / 1.558 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/1.327, allocations: 203.7 kB / 1.558 GB, free: 10.26 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/1.327, allocations: 15.94 kB / 1.558 GB, free: 10.25 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.328, allocations: 59.91 kB / 1.558 GB, free: 10.19 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/1.328, allocations: 39.98 kB / 1.558 GB, free: 10.15 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002388/1.328, allocations: 248.4 kB / 1.558 GB, free: 9.898 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/1.329, allocations: 159 kB / 1.558 GB, free: 9.742 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/1.33, allocations: 0.8203 MB / 1.559 GB, free: 8.906 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.33, allocations: 8 kB / 1.559 GB, free: 8.898 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.33, allocations: 0 / 1.559 GB, free: 8.898 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001126/1.331, allocations: 0.794 MB / 1.56 GB, free: 8.055 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/1.335, allocations: 2.298 MB / 1.562 GB, free: 5.672 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.335, allocations: 0 / 1.562 GB, free: 5.672 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008657/1.336, allocations: 159.9 kB / 1.562 GB, free: 5.516 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/1.336, allocations: 8.188 kB / 1.562 GB, free: 5.508 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/1.336, allocations: 31.92 kB / 1.562 GB, free: 5.477 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/1.336, allocations: 7.938 kB / 1.562 GB, free: 5.469 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.336, allocations: 0 / 1.562 GB, free: 5.469 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/1.338, allocations: 1.266 MB / 1.564 GB, free: 4.172 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000496/1.338, allocations: 335.9 kB / 1.564 GB, free: 3.824 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/1.338, allocations: 23.86 kB / 1.564 GB, free: 3.801 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008874/1.339, allocations: 36.86 kB / 1.564 GB, free: 3.77 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/1.339, allocations: 44.5 kB / 1.564 GB, free: 3.727 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.732e-05/1.339, allocations: 31.98 kB / 1.564 GB, free: 3.695 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001266/1.341, allocations: 0.9083 MB / 1.565 GB, free: 2.789 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.81e-07/1.341, allocations: 0 / 1.565 GB, free: 2.789 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001742/1.342, allocations: 0.8423 MB / 1.566 GB, free: 1.945 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002619/1.345, allocations: 1.964 MB / 1.568 GB, free: 15.94 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002165/1.347, allocations: 1.335 MB / 1.569 GB, free: 14.61 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.347, allocations: 4.312 kB / 1.569 GB, free: 14.6 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005375/1.348, allocations: 347 kB / 1.569 GB, free: 14.26 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/1.351, allocations: 0.8446 MB / 1.57 GB, free: 13.43 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.367, allocations: 10.71 MB / 1.581 GB, free: 2.383 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.368, allocations: 1.348 MB / 1.582 GB, free: 1.008 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001357/1.369, allocations: 416.3 kB / 1.582 GB, free: 0.5977 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000876/1.37, allocations: 0.6126 MB / 1.583 GB, free: 15.98 MB / 1.279 GB Notification: Performance of SimCode: time 3.9e-07/1.37, allocations: 0 / 1.583 GB, free: 15.98 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07952/1.45, allocations: 41.74 MB / 1.624 GB, free: 6.77 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/15, allocations: 11.75 kB / 1.624 GB, free: 6.762 MB / 1.311 GB (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches