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.006532/0.006532, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001183/0.001183, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.815/2.815, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.89 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3588, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.9956/1.354, allocations: 274.6 MB / 1.476 GB, free: 4.02 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02204/1.376, allocations: 17.37 MB / 1.493 GB, free: 2.605 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/1.379, allocations: 67.62 kB / 1.493 GB, free: 2.539 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003703/1.383, allocations: 1.165 MB / 1.494 GB, free: 1.367 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008155/1.391, allocations: 3.095 MB / 1.497 GB, free: 14.26 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005795/1.397, allocations: 2.214 MB / 1.499 GB, free: 12.05 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007876/1.405, allocations: 4.846 MB / 1.504 GB, free: 7.199 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/1.408, allocations: 1.773 MB / 1.506 GB, free: 5.406 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006448/1.414, allocations: 2.444 MB / 1.508 GB, free: 2.965 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00347/1.417, allocations: 1.547 MB / 1.51 GB, free: 1.43 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004124/1.418, allocations: 188 kB / 1.51 GB, free: 1.246 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006871/1.425, allocations: 3.013 MB / 1.513 GB, free: 14.23 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0009853/1.426, allocations: 0.7246 MB / 1.513 GB, free: 13.5 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001585/1.427, allocations: 1.12 MB / 1.515 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007382/1.435, allocations: 3.829 MB / 1.518 GB, free: 8.535 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.435, allocations: 4 kB / 1.518 GB, free: 8.531 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.713e-06/1.435, allocations: 0 / 1.518 GB, free: 8.531 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.132e-05/1.435, allocations: 0 / 1.518 GB, free: 8.531 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.004665/1.44, allocations: 2.427 MB / 1.521 GB, free: 6.035 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.44, allocations: 8.625 kB / 1.521 GB, free: 6.027 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/1.444, allocations: 0.6494 MB / 1.521 GB, free: 5.375 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/1.447, allocations: 1.4 MB / 1.523 GB, free: 3.918 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-05/1.447, allocations: 106.5 kB / 1.523 GB, free: 3.812 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/1.447, allocations: 132 kB / 1.523 GB, free: 3.684 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/1.45, allocations: 1.565 MB / 1.524 GB, free: 2.051 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/1.45, allocations: 0 / 1.524 GB, free: 2.051 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/1.45, allocations: 60 kB / 1.524 GB, free: 1.992 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-05/1.45, allocations: 58.31 kB / 1.525 GB, free: 1.934 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/1.452, allocations: 1.27 MB / 1.526 GB, free: 0.6562 MB / 1.201 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.009618/1.462, allocations: 7.21 MB / 1.533 GB, free: 8.879 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/1.463, allocations: 0.6462 MB / 1.533 GB, free: 8.223 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/1.464, allocations: 371.3 kB / 1.534 GB, free: 7.859 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/1.464, allocations: 101.7 kB / 1.534 GB, free: 7.742 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/1.464, allocations: 47.12 kB / 1.534 GB, free: 7.688 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007005/1.465, allocations: 103.1 kB / 1.534 GB, free: 7.586 MB / 1.217 GB Notification: Performance of pre-optimization done (n=67): time 2.955e-06/1.465, allocations: 0 / 1.534 GB, free: 7.586 MB / 1.217 GB Notification: Performance of matching and sorting (n=67): time 0.00201/1.467, allocations: 1.017 MB / 1.535 GB, free: 6.566 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.467, allocations: 59.97 kB / 1.535 GB, free: 6.496 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/1.468, allocations: 1.343 MB / 1.536 GB, free: 5.145 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/1.468, allocations: 45.7 kB / 1.536 GB, free: 5.094 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006247/1.469, allocations: 0.7775 MB / 1.537 GB, free: 4.309 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/1.469, allocations: 236.6 kB / 1.537 GB, free: 4.074 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/1.47, allocations: 202.4 kB / 1.538 GB, free: 3.871 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.47, allocations: 349.9 kB / 1.538 GB, free: 3.523 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/1.47, allocations: 352.7 kB / 1.538 GB, free: 3.176 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007829/1.471, allocations: 0.6888 MB / 1.539 GB, free: 2.352 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/1.472, allocations: 0.9565 MB / 1.54 GB, free: 1.301 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/1.472, allocations: 4 kB / 1.54 GB, free: 1.297 MB / 1.217 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001994/1.474, allocations: 1.152 MB / 1.541 GB, free: 140 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.474, allocations: 8 kB / 1.541 GB, free: 132 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.475, allocations: 8 kB / 1.541 GB, free: 124 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-05/1.475, allocations: 15.98 kB / 1.541 GB, free: 108 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/1.475, allocations: 203.7 kB / 1.541 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/1.476, allocations: 23.91 kB / 1.541 GB, free: 15.88 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/1.477, allocations: 48.44 kB / 1.541 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/1.477, allocations: 40 kB / 1.541 GB, free: 15.8 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/1.478, allocations: 0.6854 MB / 1.542 GB, free: 15.11 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008018/1.479, allocations: 0.679 MB / 1.543 GB, free: 14.29 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001244/1.48, allocations: 0.9449 MB / 1.544 GB, free: 13.25 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.98e-06/1.48, allocations: 3.938 kB / 1.544 GB, free: 13.25 MB / 1.232 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001868/1.482, allocations: 1.151 MB / 1.545 GB, free: 12.09 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.482, allocations: 8.906 kB / 1.545 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.482, allocations: 8 kB / 1.545 GB, free: 12.08 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.482, allocations: 12 kB / 1.545 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/1.483, allocations: 211.7 kB / 1.545 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/1.483, allocations: 15.98 kB / 1.545 GB, free: 11.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/1.484, allocations: 54 kB / 1.545 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/1.484, allocations: 40 kB / 1.545 GB, free: 11.75 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.0003128/1.485, allocations: 255.8 kB / 1.545 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/1.485, allocations: 154.1 kB / 1.545 GB, free: 11.34 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/1.487, allocations: 0.8241 MB / 1.546 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.487, allocations: 8 kB / 1.546 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.487, allocations: 0 / 1.546 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009899/1.488, allocations: 0.7824 MB / 1.547 GB, free: 9.664 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/1.491, allocations: 2.31 MB / 1.549 GB, free: 7.27 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.491, allocations: 0 / 1.549 GB, free: 7.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/1.492, allocations: 172 kB / 1.549 GB, free: 7.102 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/1.492, allocations: 8 kB / 1.549 GB, free: 7.094 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/1.492, allocations: 19.94 kB / 1.55 GB, free: 7.074 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/1.492, allocations: 4 kB / 1.55 GB, free: 7.07 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.492, allocations: 0 / 1.55 GB, free: 7.07 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/1.494, allocations: 1.257 MB / 1.551 GB, free: 5.781 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008263/1.495, allocations: 323.2 kB / 1.551 GB, free: 5.445 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/1.495, allocations: 19.94 kB / 1.551 GB, free: 5.426 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00087/1.496, allocations: 35.91 kB / 1.551 GB, free: 5.391 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/1.496, allocations: 48.5 kB / 1.551 GB, free: 5.344 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/1.496, allocations: 31.92 kB / 1.551 GB, free: 5.312 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001335/1.498, allocations: 0.9044 MB / 1.552 GB, free: 4.41 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.8e-07/1.498, allocations: 0 / 1.552 GB, free: 4.41 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002075/1.5, allocations: 0.8379 MB / 1.553 GB, free: 3.57 MB / 1.232 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.0005965/1.5, allocations: 247.2 kB / 1.553 GB, free: 3.324 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002242/1.503, allocations: 1.335 MB / 1.554 GB, free: 1.992 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.503, allocations: 0.5 kB / 1.554 GB, free: 1.992 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/1.503, allocations: 355 kB / 1.555 GB, free: 1.645 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003991/1.507, allocations: 0.8487 MB / 1.556 GB, free: 0.8164 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/1.512, allocations: 2.896 MB / 1.558 GB, free: 13.87 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009379/1.513, allocations: 1.344 MB / 1.56 GB, free: 12.49 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001821/1.515, allocations: 408.3 kB / 1.56 GB, free: 12.09 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/1.515, allocations: 111.4 kB / 1.56 GB, free: 11.98 MB / 1.248 GB Notification: Performance of SimCode: time 2.836e-06/1.515, allocations: 4 kB / 1.56 GB, free: 11.97 MB / 1.248 GB Notification: Performance of Templates: time 0.05183/1.567, allocations: 29.75 MB / 1.589 GB, free: 14.58 MB / 1.279 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