Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_10_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.008155/0.008155, allocations: 102.2 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.001804/0.001804, allocations: 192 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 71.83 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8081, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2747/1.083, allocations: 274.6 MB / 1.434 GB, free: 148 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02201/1.105, allocations: 17.36 MB / 1.451 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/1.108, allocations: 67.62 kB / 1.451 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003206/1.111, allocations: 1.212 MB / 1.453 GB, free: 13.44 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0081/1.119, allocations: 3.218 MB / 1.456 GB, free: 10.21 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005474/1.125, allocations: 2.244 MB / 1.458 GB, free: 7.973 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00645/1.131, allocations: 4.857 MB / 1.463 GB, free: 3.102 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/1.134, allocations: 1.763 MB / 1.464 GB, free: 1.305 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00588/1.14, allocations: 2.49 MB / 1.467 GB, free: 14.82 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/1.142, allocations: 1.542 MB / 1.468 GB, free: 13.28 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003737/1.143, allocations: 192 kB / 1.468 GB, free: 13.09 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005947/1.149, allocations: 3.028 MB / 1.471 GB, free: 10.06 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000854/1.15, allocations: 0.7245 MB / 1.472 GB, free: 9.332 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001559/1.151, allocations: 1.12 MB / 1.473 GB, free: 8.207 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006517/1.158, allocations: 3.843 MB / 1.477 GB, free: 4.352 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.158, allocations: 0 / 1.477 GB, free: 4.352 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.284e-06/1.158, allocations: 0 / 1.477 GB, free: 4.352 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.81e-05/1.158, allocations: 0 / 1.477 GB, free: 4.352 MB / 1.201 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.004826/1.163, allocations: 2.497 MB / 1.479 GB, free: 1.785 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.163, allocations: 12.92 kB / 1.479 GB, free: 1.773 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/1.163, allocations: 186.1 kB / 1.48 GB, free: 1.582 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004191/1.167, allocations: 0.6622 MB / 1.48 GB, free: 0.918 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/1.17, allocations: 1.414 MB / 1.482 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-05/1.17, allocations: 102.5 kB / 1.482 GB, free: 15.34 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/1.17, allocations: 136 kB / 1.482 GB, free: 15.21 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/1.172, allocations: 1.569 MB / 1.483 GB, free: 13.57 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/1.172, allocations: 0 / 1.483 GB, free: 13.57 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/1.173, allocations: 59.94 kB / 1.483 GB, free: 13.52 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.963e-05/1.173, allocations: 50.45 kB / 1.484 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/1.175, allocations: 1.266 MB / 1.485 GB, free: 12.19 MB / 1.217 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.009003/1.184, allocations: 7.239 MB / 1.492 GB, free: 4.395 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/1.185, allocations: 0.6412 MB / 1.492 GB, free: 3.746 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/1.185, allocations: 362.4 kB / 1.493 GB, free: 3.391 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/1.186, allocations: 113.6 kB / 1.493 GB, free: 3.262 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/1.186, allocations: 47.11 kB / 1.493 GB, free: 3.203 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005846/1.186, allocations: 99.33 kB / 1.493 GB, free: 3.105 MB / 1.217 GB Notification: Performance of pre-optimization done (n=67): time 3.286e-06/1.186, allocations: 0 / 1.493 GB, free: 3.105 MB / 1.217 GB Notification: Performance of matching and sorting (n=67): time 0.001861/1.188, allocations: 1.029 MB / 1.494 GB, free: 2.074 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/1.188, allocations: 55.97 kB / 1.494 GB, free: 2.008 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/1.19, allocations: 1.339 MB / 1.495 GB, free: 0.6602 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.602e-05/1.19, allocations: 45.81 kB / 1.495 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000645/1.19, allocations: 0.7909 MB / 1.496 GB, free: 15.81 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/1.191, allocations: 253.9 kB / 1.496 GB, free: 15.56 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/1.191, allocations: 206.5 kB / 1.497 GB, free: 15.35 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.191, allocations: 353.7 kB / 1.497 GB, free: 15 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/1.192, allocations: 352.7 kB / 1.497 GB, free: 14.66 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/1.192, allocations: 0.679 MB / 1.498 GB, free: 13.84 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/1.194, allocations: 0.9527 MB / 1.499 GB, free: 12.79 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.194, allocations: 4 kB / 1.499 GB, free: 12.79 MB / 1.232 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001765/1.196, allocations: 1.152 MB / 1.5 GB, free: 11.63 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.196, allocations: 8 kB / 1.5 GB, free: 11.62 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.196, allocations: 8 kB / 1.5 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/1.196, allocations: 16.8 kB / 1.5 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008583/1.196, allocations: 215.7 kB / 1.5 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/1.197, allocations: 19.91 kB / 1.5 GB, free: 11.37 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.198, allocations: 54.92 kB / 1.5 GB, free: 11.32 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.98e-05/1.198, allocations: 36 kB / 1.5 GB, free: 11.28 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001086/1.199, allocations: 0.6953 MB / 1.501 GB, free: 10.58 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007618/1.2, allocations: 0.679 MB / 1.502 GB, free: 9.766 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001194/1.201, allocations: 0.945 MB / 1.503 GB, free: 8.73 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/1.201, allocations: 4 kB / 1.503 GB, free: 8.727 MB / 1.232 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001717/1.203, allocations: 1.153 MB / 1.504 GB, free: 7.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.203, allocations: 12.03 kB / 1.504 GB, free: 7.559 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/1.203, allocations: 8 kB / 1.504 GB, free: 7.551 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/1.203, allocations: 12 kB / 1.504 GB, free: 7.539 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/1.204, allocations: 211.7 kB / 1.504 GB, free: 7.332 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/1.204, allocations: 15.92 kB / 1.504 GB, free: 7.316 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.205, allocations: 55.91 kB / 1.504 GB, free: 7.262 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.848e-05/1.205, allocations: 43.98 kB / 1.504 GB, free: 7.219 MB / 1.232 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.0002609/1.205, allocations: 247.9 kB / 1.504 GB, free: 6.969 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/1.205, allocations: 159 kB / 1.505 GB, free: 6.812 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/1.207, allocations: 0.8202 MB / 1.505 GB, free: 5.977 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.207, allocations: 8 kB / 1.505 GB, free: 5.969 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.207, allocations: 4 kB / 1.505 GB, free: 5.965 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009619/1.208, allocations: 0.7863 MB / 1.506 GB, free: 5.133 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003531/1.211, allocations: 2.306 MB / 1.508 GB, free: 2.746 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.211, allocations: 192 / 1.508 GB, free: 2.746 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008182/1.212, allocations: 171.8 kB / 1.509 GB, free: 2.578 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.212, allocations: 7.938 kB / 1.509 GB, free: 2.57 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/1.212, allocations: 20 kB / 1.509 GB, free: 2.551 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/1.212, allocations: 4 kB / 1.509 GB, free: 2.547 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.212, allocations: 0 / 1.509 GB, free: 2.547 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/1.214, allocations: 1.266 MB / 1.51 GB, free: 1.246 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000602/1.215, allocations: 331.9 kB / 1.51 GB, free: 0.9023 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/1.215, allocations: 16 kB / 1.51 GB, free: 0.8867 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008621/1.216, allocations: 41.09 kB / 1.51 GB, free: 0.8477 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/1.216, allocations: 44.44 kB / 1.51 GB, free: 0.8047 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/1.216, allocations: 31.98 kB / 1.51 GB, free: 0.7734 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001211/1.217, allocations: 0.9044 MB / 1.511 GB, free: 15.87 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.7e-07/1.217, allocations: 0 / 1.511 GB, free: 15.87 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001905/1.219, allocations: 0.8462 MB / 1.512 GB, free: 15.02 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.002409/1.221, allocations: 1.971 MB / 1.514 GB, free: 13.01 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002123/1.224, allocations: 1.331 MB / 1.515 GB, free: 11.68 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.224, allocations: 4 kB / 1.515 GB, free: 11.68 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000467/1.224, allocations: 351 kB / 1.516 GB, free: 11.33 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/1.228, allocations: 0.8441 MB / 1.516 GB, free: 10.5 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/1.245, allocations: 10.72 MB / 1.527 GB, free: 15.45 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/1.246, allocations: 1.352 MB / 1.528 GB, free: 14.07 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001647/1.248, allocations: 412.3 kB / 1.529 GB, free: 13.66 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009423/1.248, allocations: 0.6086 MB / 1.529 GB, free: 13.05 MB / 1.264 GB Notification: Performance of SimCode: time 8.92e-07/1.248, allocations: 4 kB / 1.529 GB, free: 13.05 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7233/1.972, allocations: 41.74 MB / 1.57 GB, free: 386.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/15.73, allocations: 6.047 kB / 1.57 GB, free: 386.1 MB / 1.279 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches