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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senEnt1.h_out|senEnt2.h_out|senTem1.T|senTem2.T|senMas1.X|senMas2.X|cheTem.y|cheEnt.y|cheMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008042/0.0008042, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00537/0.00537, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.8/2.8, allocations: 462.6 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004739, allocations: 12.69 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5159/0.5163, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.136/1.653, allocations: 268.8 MB / 1.321 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02282/1.676, allocations: 17.28 MB / 1.338 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003696/1.679, allocations: 58.62 kB / 1.338 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003847/1.683, allocations: 0.9923 MB / 1.339 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009549/1.693, allocations: 2.932 MB / 1.342 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005875/1.699, allocations: 2.01 MB / 1.344 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01017/1.709, allocations: 6.75 MB / 1.351 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003158/1.712, allocations: 1.441 MB / 1.352 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007653/1.72, allocations: 2.057 MB / 1.354 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004649/1.724, allocations: 1.516 MB / 1.355 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005271/1.725, allocations: 75.22 kB / 1.355 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008932/1.734, allocations: 3.404 MB / 1.359 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001478/1.735, allocations: 0.6102 MB / 1.359 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002631/1.738, allocations: 0.9978 MB / 1.36 GB, free: 16.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/1.748, allocations: 3.847 MB / 1.364 GB, free: 16.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.748, allocations: 0 / 1.364 GB, free: 16.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.627e-06/1.748, allocations: 0 / 1.364 GB, free: 16.48 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.653e-05/1.748, allocations: 3.312 kB / 1.364 GB, free: 16.48 MB / 1.014 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.004948/1.753, allocations: 2.031 MB / 1.366 GB, free: 15.33 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/1.753, allocations: 8.719 kB / 1.366 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/1.758, allocations: 0.6522 MB / 1.367 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/1.761, allocations: 1.334 MB / 1.368 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-05/1.761, allocations: 105.4 kB / 1.368 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/1.761, allocations: 141 kB / 1.368 GB, free: 14.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/1.765, allocations: 1.573 MB / 1.37 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/1.765, allocations: 2.938 kB / 1.37 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/1.765, allocations: 53.81 kB / 1.37 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.803e-05/1.765, allocations: 51.28 kB / 1.37 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/1.767, allocations: 1.273 MB / 1.371 GB, free: 14.05 MB / 1.014 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.01093/1.778, allocations: 7.237 MB / 1.378 GB, free: 9.148 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/1.779, allocations: 0.6441 MB / 1.379 GB, free: 9.055 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/1.78, allocations: 378.2 kB / 1.379 GB, free: 8.996 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/1.78, allocations: 109.6 kB / 1.379 GB, free: 8.895 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/1.78, allocations: 41.12 kB / 1.379 GB, free: 8.852 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001138/1.781, allocations: 145.5 kB / 1.38 GB, free: 8.785 MB / 1.014 GB Notification: Performance of pre-optimization done (n=67): time 4.238e-06/1.781, allocations: 0 / 1.38 GB, free: 8.785 MB / 1.014 GB Notification: Performance of matching and sorting (n=67): time 0.002035/1.783, allocations: 1.024 MB / 1.381 GB, free: 8.336 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/1.783, allocations: 57.06 kB / 1.381 GB, free: 8.273 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/1.785, allocations: 1.345 MB / 1.382 GB, free: 7.543 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.215e-05/1.785, allocations: 45.7 kB / 1.382 GB, free: 7.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007132/1.786, allocations: 0.7706 MB / 1.383 GB, free: 6.824 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/1.786, allocations: 246.9 kB / 1.383 GB, free: 6.617 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/1.786, allocations: 83.27 kB / 1.383 GB, free: 6.559 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.787, allocations: 345.3 kB / 1.383 GB, free: 6.227 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/1.787, allocations: 351.3 kB / 1.384 GB, free: 6.055 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008388/1.788, allocations: 0.6763 MB / 1.384 GB, free: 5.465 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/1.789, allocations: 0.9545 MB / 1.385 GB, free: 4.824 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.789, allocations: 0 / 1.385 GB, free: 4.824 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001972/1.791, allocations: 1.157 MB / 1.386 GB, free: 4.277 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.00022/1.792, allocations: 288.4 kB / 1.387 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.792, allocations: 6.25 kB / 1.387 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/1.792, allocations: 11.53 kB / 1.387 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/1.793, allocations: 210.3 kB / 1.387 GB, free: 3.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.931e-05/1.793, allocations: 22.16 kB / 1.387 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/1.794, allocations: 140.8 kB / 1.387 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.221e-05/1.794, allocations: 44.23 kB / 1.387 GB, free: 3.797 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/1.794, allocations: 3.312 kB / 1.387 GB, free: 3.797 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/1.796, allocations: 0.9857 MB / 1.388 GB, free: 3.352 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.796, allocations: 15.22 kB / 1.388 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.796, allocations: 10.77 kB / 1.388 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/1.797, allocations: 211.8 kB / 1.388 GB, free: 3.312 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/1.797, allocations: 21.89 kB / 1.388 GB, free: 3.305 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.798, allocations: 135 kB / 1.388 GB, free: 3.238 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/1.798, allocations: 43.5 kB / 1.388 GB, free: 3.227 MB / 1.014 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.0009796/1.799, allocations: 0.49 MB / 1.389 GB, free: 2.863 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/1.8, allocations: 149.3 kB / 1.389 GB, free: 2.789 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/1.801, allocations: 0.8275 MB / 1.39 GB, free: 2.297 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/1.801, allocations: 10.88 kB / 1.39 GB, free: 2.293 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.801, allocations: 0 / 1.39 GB, free: 2.293 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/1.802, allocations: 0.7841 MB / 1.391 GB, free: 1.758 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/1.806, allocations: 2.311 MB / 1.393 GB, free: 180 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.806, allocations: 3.344 kB / 1.393 GB, free: 180 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007648/1.807, allocations: 167.1 kB / 1.393 GB, free: 148 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.807, allocations: 3.031 kB / 1.393 GB, free: 148 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/1.807, allocations: 18.69 kB / 1.393 GB, free: 136 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/1.807, allocations: 9.219 kB / 1.393 GB, free: 136 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.807, allocations: 3.984 kB / 1.393 GB, free: 132 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/1.809, allocations: 1.256 MB / 1.394 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/1.809, allocations: 326.7 kB / 1.395 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/1.809, allocations: 14.44 kB / 1.395 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.81, allocations: 100 kB / 1.395 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/1.811, allocations: 49.14 kB / 1.395 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.45e-05/1.811, allocations: 42.25 kB / 1.395 GB, free: 15.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001283/1.812, allocations: 0.9033 MB / 1.396 GB, free: 14.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.01e-07/1.812, allocations: 0 / 1.396 GB, free: 14.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002187/1.814, allocations: 0.8455 MB / 1.397 GB, free: 14.37 MB / 1.029 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.000583/1.815, allocations: 255.5 kB / 1.397 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002202/1.817, allocations: 1.334 MB / 1.398 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.817, allocations: 7.469 kB / 1.398 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000484/1.817, allocations: 345.6 kB / 1.398 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004248/1.822, allocations: 0.8414 MB / 1.399 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/1.827, allocations: 3.636 MB / 1.403 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.828, allocations: 1.355 MB / 1.404 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00189/1.83, allocations: 412 kB / 1.405 GB, free: 9.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/1.83, allocations: 121.2 kB / 1.405 GB, free: 9.336 MB / 1.029 GB Notification: Performance of SimCode: time 9.52e-07/1.83, allocations: 0 / 1.405 GB, free: 9.336 MB / 1.029 GB Notification: Performance of Templates: time 0.05137/1.881, allocations: 28.11 MB / 1.432 GB, free: 14.71 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (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 & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches