Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_9_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.0009057/0.0009056, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005555/0.005555, allocations: 170.3 kB / 16.27 MB, free: 6.652 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.266/1.266, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 390.9 MB / 0.6664 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003148, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6231/0.6234, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.2654/0.8889, allocations: 268.8 MB / 1.218 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0206/0.9095, allocations: 17.27 MB / 1.235 GB, free: 268 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.9114, allocations: 63.56 kB / 1.235 GB, free: 204 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.914, allocations: 0.9872 MB / 1.236 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006804/0.9208, allocations: 2.932 MB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004615/0.9254, allocations: 2.007 MB / 1.24 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006635/0.9321, allocations: 6.749 MB / 1.247 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.934, allocations: 1.442 MB / 1.248 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.471/1.405, allocations: 2.058 MB / 1.25 GB, free: 37.1 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003459/1.409, allocations: 1.515 MB / 1.252 GB, free: 37.1 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003378/1.409, allocations: 75.03 kB / 1.252 GB, free: 37.1 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005797/1.415, allocations: 3.404 MB / 1.255 GB, free: 37.1 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007083/1.415, allocations: 0.6002 MB / 1.256 GB, free: 37.1 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/1.417, allocations: 1.002 MB / 1.257 GB, free: 37.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004912/1.422, allocations: 3.852 MB / 1.261 GB, free: 36.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.422, allocations: 0.8438 kB / 1.261 GB, free: 36.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.422, allocations: 3.188 kB / 1.261 GB, free: 36.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.186e-05/1.422, allocations: 0 / 1.261 GB, free: 36.98 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004197/1.426, allocations: 2.029 MB / 1.263 GB, free: 35.92 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/1.426, allocations: 9.969 kB / 1.263 GB, free: 35.92 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004714/1.426, allocations: 196 kB / 1.263 GB, free: 35.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/1.431, allocations: 0.6512 MB / 1.263 GB, free: 35.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/1.434, allocations: 1.334 MB / 1.265 GB, free: 35.35 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.16e-05/1.434, allocations: 103.7 kB / 1.265 GB, free: 35.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/1.434, allocations: 137.2 kB / 1.265 GB, free: 35.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/1.437, allocations: 1.576 MB / 1.267 GB, free: 35.15 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/1.437, allocations: 5.156 kB / 1.267 GB, free: 35.15 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/1.437, allocations: 57.7 kB / 1.267 GB, free: 35.15 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/1.437, allocations: 49.61 kB / 1.267 GB, free: 35.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/1.439, allocations: 1.271 MB / 1.268 GB, free: 35.12 MB / 0.9981 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.008025/1.447, allocations: 7.223 MB / 1.275 GB, free: 31.26 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.448, allocations: 0.6435 MB / 1.276 GB, free: 31.24 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004879/1.448, allocations: 366.7 kB / 1.276 GB, free: 31.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/1.449, allocations: 114.8 kB / 1.276 GB, free: 31.13 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/1.449, allocations: 43.38 kB / 1.276 GB, free: 31.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009066/1.449, allocations: 146.8 kB / 1.276 GB, free: 31.04 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=67): time 2.144e-06/1.449, allocations: 1.859 kB / 1.276 GB, free: 31.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67): time 0.001682/1.451, allocations: 1.012 MB / 1.277 GB, free: 30.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/1.451, allocations: 66.94 kB / 1.277 GB, free: 30.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/1.453, allocations: 1.344 MB / 1.279 GB, free: 30.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/1.453, allocations: 45.14 kB / 1.279 GB, free: 30.64 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/1.453, allocations: 0.7796 MB / 1.279 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/1.453, allocations: 241.5 kB / 1.28 GB, free: 30.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/1.453, allocations: 90.5 kB / 1.28 GB, free: 30.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.397e-05/1.454, allocations: 341.4 kB / 1.28 GB, free: 29.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/1.454, allocations: 345.2 kB / 1.28 GB, free: 29.87 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/1.455, allocations: 0.6877 MB / 1.281 GB, free: 29.49 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009653/1.456, allocations: 0.9508 MB / 1.282 GB, free: 29.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.456, allocations: 0 / 1.282 GB, free: 29.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001379/1.457, allocations: 1.155 MB / 1.283 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.169e-05/1.457, allocations: 292.4 kB / 1.283 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.457, allocations: 10.33 kB / 1.283 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.457, allocations: 11.66 kB / 1.283 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007579/1.458, allocations: 212 kB / 1.284 GB, free: 28.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.458, allocations: 19.25 kB / 1.284 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.459, allocations: 136.5 kB / 1.284 GB, free: 28.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/1.459, allocations: 41.81 kB / 1.284 GB, free: 28.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/1.459, allocations: 8.469 kB / 1.284 GB, free: 28.76 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/1.461, allocations: 0.9893 MB / 1.285 GB, free: 28.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.461, allocations: 6.188 kB / 1.285 GB, free: 28.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/1.461, allocations: 11.25 kB / 1.285 GB, free: 28.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/1.461, allocations: 210.1 kB / 1.285 GB, free: 28.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.461, allocations: 17.34 kB / 1.285 GB, free: 28.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.463, allocations: 133 kB / 1.285 GB, free: 28.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/1.463, allocations: 49.42 kB / 1.285 GB, free: 28.73 MB / 0.9981 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.0005244/1.463, allocations: 0.4924 MB / 1.286 GB, free: 28.53 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/1.463, allocations: 153.3 kB / 1.286 GB, free: 28.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/1.465, allocations: 0.8218 MB / 1.287 GB, free: 28.39 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.465, allocations: 11.67 kB / 1.287 GB, free: 28.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.465, allocations: 0 / 1.287 GB, free: 28.39 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007414/1.465, allocations: 0.7936 MB / 1.287 GB, free: 28.13 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/1.468, allocations: 2.293 MB / 1.29 GB, free: 27.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.468, allocations: 7.531 kB / 1.29 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/1.469, allocations: 164.4 kB / 1.29 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.469, allocations: 3 kB / 1.29 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/1.469, allocations: 24.47 kB / 1.29 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.469, allocations: 3.594 kB / 1.29 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.469, allocations: 2.031 kB / 1.29 GB, free: 27.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/1.47, allocations: 1.259 MB / 1.291 GB, free: 27.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/1.47, allocations: 325.7 kB / 1.291 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/1.471, allocations: 24.45 kB / 1.291 GB, free: 27.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009938/1.472, allocations: 89.77 kB / 1.291 GB, free: 27.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/1.472, allocations: 45.88 kB / 1.291 GB, free: 27.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.249e-05/1.472, allocations: 33.83 kB / 1.292 GB, free: 27.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009316/1.473, allocations: 0.9078 MB / 1.292 GB, free: 27.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.473, allocations: 0 / 1.292 GB, free: 27.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00171/1.474, allocations: 0.8355 MB / 1.293 GB, free: 27.08 MB / 0.9981 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.001801/1.476, allocations: 1.966 MB / 1.295 GB, free: 26.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001584/1.478, allocations: 1.331 MB / 1.296 GB, free: 26.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.478, allocations: 4.188 kB / 1.296 GB, free: 26.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003858/1.478, allocations: 348.9 kB / 1.297 GB, free: 26.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/1.482, allocations: 0.8382 MB / 1.298 GB, free: 26.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/1.497, allocations: 12.28 MB / 1.31 GB, free: 21.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008331/1.498, allocations: 1.352 MB / 1.311 GB, free: 20.33 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001966/1.5, allocations: 416.7 kB / 1.311 GB, free: 20.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008233/1.501, allocations: 0.6116 MB / 1.312 GB, free: 20.24 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.501, allocations: 4 kB / 1.312 GB, free: 20.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.352/4.854, allocations: 40.21 MB / 1.351 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/4.854, allocations: 252.1 kB / 1.351 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.173/9.027, allocations: 0 / 1.351 GB, free: 6.543 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches