Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_latest_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.006858/0.006858, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001197/0.001197, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.719/2.719, allocations: 469.4 MB / 0.7422 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.89 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3065, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.9511/1.258, allocations: 274.6 MB / 1.488 GB, free: 3.176 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02541/1.283, allocations: 17.37 MB / 1.505 GB, free: 1.754 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/1.286, allocations: 67.62 kB / 1.505 GB, free: 1.688 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003798/1.29, allocations: 1.204 MB / 1.506 GB, free: 488 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00958/1.3, allocations: 3.225 MB / 1.509 GB, free: 13.24 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00717/1.307, allocations: 2.234 MB / 1.511 GB, free: 11.01 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.007671/1.315, allocations: 4.857 MB / 1.516 GB, free: 6.141 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003279/1.318, allocations: 1.774 MB / 1.518 GB, free: 4.344 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006691/1.325, allocations: 2.501 MB / 1.52 GB, free: 1.848 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003447/1.328, allocations: 1.535 MB / 1.522 GB, free: 324 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007537/1.329, allocations: 192 kB / 1.522 GB, free: 132 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006693/1.335, allocations: 3.028 MB / 1.525 GB, free: 13.09 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/1.337, allocations: 0.7246 MB / 1.526 GB, free: 12.37 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002443/1.339, allocations: 1.116 MB / 1.527 GB, free: 11.25 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.007857/1.347, allocations: 3.843 MB / 1.531 GB, free: 7.391 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.347, allocations: 0 / 1.531 GB, free: 7.391 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.663e-06/1.347, allocations: 0 / 1.531 GB, free: 7.391 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.473e-05/1.347, allocations: 0 / 1.531 GB, free: 7.391 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.005596/1.353, allocations: 2.496 MB / 1.533 GB, free: 4.824 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.353, allocations: 12.03 kB / 1.533 GB, free: 4.812 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003572/1.353, allocations: 190.1 kB / 1.533 GB, free: 4.617 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/1.358, allocations: 0.6583 MB / 1.534 GB, free: 3.957 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/1.361, allocations: 1.41 MB / 1.535 GB, free: 2.492 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.489e-05/1.361, allocations: 106.5 kB / 1.535 GB, free: 2.387 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003708/1.362, allocations: 147.9 kB / 1.535 GB, free: 2.242 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/1.364, allocations: 1.559 MB / 1.537 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/1.364, allocations: 7.938 kB / 1.537 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/1.365, allocations: 59.94 kB / 1.537 GB, free: 0.5508 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/1.365, allocations: 50.44 kB / 1.537 GB, free: 0.5 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/1.367, allocations: 1.263 MB / 1.538 GB, free: 15.23 MB / 1.232 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.00965/1.377, allocations: 7.22 MB / 1.545 GB, free: 7.449 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/1.378, allocations: 0.6625 MB / 1.546 GB, free: 6.781 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/1.378, allocations: 366.4 kB / 1.546 GB, free: 6.422 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/1.378, allocations: 105.7 kB / 1.546 GB, free: 6.301 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/1.379, allocations: 47.03 kB / 1.547 GB, free: 6.242 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007038/1.379, allocations: 103.4 kB / 1.547 GB, free: 6.141 MB / 1.232 GB Notification: Performance of pre-optimization done (n=67): time 4.578e-06/1.379, allocations: 0 / 1.547 GB, free: 6.141 MB / 1.232 GB Notification: Performance of matching and sorting (n=67): time 0.002141/1.381, allocations: 1.029 MB / 1.548 GB, free: 5.109 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/1.381, allocations: 56.08 kB / 1.548 GB, free: 5.043 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/1.384, allocations: 1.347 MB / 1.549 GB, free: 3.688 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/1.384, allocations: 45.7 kB / 1.549 GB, free: 3.637 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006536/1.385, allocations: 0.7869 MB / 1.55 GB, free: 2.844 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/1.385, allocations: 249.9 kB / 1.55 GB, free: 2.598 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/1.385, allocations: 206.5 kB / 1.55 GB, free: 2.391 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.385, allocations: 349.9 kB / 1.551 GB, free: 2.043 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005946/1.386, allocations: 356.7 kB / 1.551 GB, free: 1.691 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/1.387, allocations: 0.679 MB / 1.552 GB, free: 0.8789 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/1.388, allocations: 0.9489 MB / 1.553 GB, free: 15.84 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.388, allocations: 4 kB / 1.553 GB, free: 15.83 MB / 1.248 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00192/1.39, allocations: 1.156 MB / 1.554 GB, free: 14.67 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.39, allocations: 8.906 kB / 1.554 GB, free: 14.66 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.39, allocations: 11.94 kB / 1.554 GB, free: 14.65 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/1.39, allocations: 12 kB / 1.554 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/1.391, allocations: 215.7 kB / 1.554 GB, free: 14.43 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/1.391, allocations: 15.92 kB / 1.554 GB, free: 14.41 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/1.392, allocations: 55.88 kB / 1.554 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.499e-05/1.393, allocations: 40 kB / 1.554 GB, free: 14.32 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001091/1.394, allocations: 0.6854 MB / 1.555 GB, free: 13.63 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008158/1.394, allocations: 0.6712 MB / 1.555 GB, free: 12.82 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001264/1.396, allocations: 0.9527 MB / 1.556 GB, free: 11.78 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/1.396, allocations: 7.938 kB / 1.556 GB, free: 11.77 MB / 1.248 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001812/1.398, allocations: 1.157 MB / 1.557 GB, free: 10.61 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.398, allocations: 8 kB / 1.557 GB, free: 10.6 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.398, allocations: 11.98 kB / 1.557 GB, free: 10.59 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.398, allocations: 12 kB / 1.557 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/1.398, allocations: 207.7 kB / 1.558 GB, free: 10.37 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/1.399, allocations: 15.92 kB / 1.558 GB, free: 10.36 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/1.4, allocations: 57.62 kB / 1.558 GB, free: 10.3 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/1.4, allocations: 44.09 kB / 1.558 GB, free: 10.26 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.0002651/1.4, allocations: 247.9 kB / 1.558 GB, free: 10.01 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/1.401, allocations: 159 kB / 1.558 GB, free: 9.852 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/1.402, allocations: 0.8164 MB / 1.559 GB, free: 9.02 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.402, allocations: 12 kB / 1.559 GB, free: 9.008 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.402, allocations: 0 / 1.559 GB, free: 9.008 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009719/1.403, allocations: 0.7862 MB / 1.56 GB, free: 8.172 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/1.407, allocations: 2.302 MB / 1.562 GB, free: 5.785 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/1.407, allocations: 4.188 kB / 1.562 GB, free: 5.781 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000834/1.407, allocations: 163.8 kB / 1.562 GB, free: 5.621 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.407, allocations: 4 kB / 1.562 GB, free: 5.617 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/1.407, allocations: 23.94 kB / 1.562 GB, free: 5.594 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/1.407, allocations: 7.938 kB / 1.562 GB, free: 5.586 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.407, allocations: 0 / 1.562 GB, free: 5.586 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/1.409, allocations: 1.262 MB / 1.563 GB, free: 4.293 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006492/1.41, allocations: 336 kB / 1.564 GB, free: 3.945 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/1.41, allocations: 19.94 kB / 1.564 GB, free: 3.926 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009631/1.411, allocations: 41.66 kB / 1.564 GB, free: 3.887 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/1.411, allocations: 40.5 kB / 1.564 GB, free: 3.848 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.034e-05/1.411, allocations: 40.11 kB / 1.564 GB, free: 3.809 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001233/1.413, allocations: 0.9005 MB / 1.565 GB, free: 2.91 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.31e-07/1.413, allocations: 0 / 1.565 GB, free: 2.91 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001998/1.415, allocations: 0.8501 MB / 1.566 GB, free: 2.059 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.002406/1.417, allocations: 1.977 MB / 1.567 GB, free: 44 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002155/1.419, allocations: 1.33 MB / 1.569 GB, free: 14.71 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.419, allocations: 4 kB / 1.569 GB, free: 14.71 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0004828/1.42, allocations: 351 kB / 1.569 GB, free: 14.37 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/1.424, allocations: 0.8261 MB / 1.57 GB, free: 13.56 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/1.441, allocations: 10.73 MB / 1.58 GB, free: 2.492 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.442, allocations: 1.352 MB / 1.582 GB, free: 1.113 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001653/1.444, allocations: 416.3 kB / 1.582 GB, free: 0.7031 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008865/1.445, allocations: 0.6125 MB / 1.583 GB, free: 92 kB / 1.264 GB Notification: Performance of SimCode: time 1.312e-06/1.445, allocations: 0 / 1.583 GB, free: 92 kB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07957/1.525, allocations: 41.74 MB / 1.623 GB, free: 6.852 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/15.4, allocations: 15.31 kB / 1.623 GB, free: 6.84 MB / 1.311 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches