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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: 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.001278/0.001278, allocations: 109.2 kB / 16.37 MB, free: 5.516 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.00122/0.00122, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.421/2.421, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 72.45 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7363/1.042, allocations: 274.6 MB / 1.295 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02233/1.065, allocations: 17.37 MB / 1.312 GB, free: 9.094 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002646/1.067, allocations: 71.56 kB / 1.312 GB, free: 9.023 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003411/1.071, allocations: 1.161 MB / 1.313 GB, free: 7.855 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008303/1.079, allocations: 3.103 MB / 1.316 GB, free: 4.742 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005914/1.085, allocations: 2.209 MB / 1.318 GB, free: 2.543 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006755/1.092, allocations: 4.85 MB / 1.323 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/1.095, allocations: 1.762 MB / 1.325 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005944/1.101, allocations: 2.409 MB / 1.327 GB, free: 9.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/1.104, allocations: 1.541 MB / 1.329 GB, free: 7.945 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005521/1.104, allocations: 192 kB / 1.329 GB, free: 7.758 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005908/1.11, allocations: 3.013 MB / 1.332 GB, free: 4.738 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001101/1.111, allocations: 0.7206 MB / 1.332 GB, free: 4.016 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002114/1.114, allocations: 1.124 MB / 1.334 GB, free: 2.887 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006259/1.12, allocations: 3.822 MB / 1.337 GB, free: 15.05 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/1.12, allocations: 0 / 1.337 GB, free: 15.05 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.703e-06/1.12, allocations: 0 / 1.337 GB, free: 15.05 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.791e-05/1.12, allocations: 4 kB / 1.337 GB, free: 15.05 MB / 1.045 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.004851/1.125, allocations: 2.428 MB / 1.34 GB, free: 12.55 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/1.125, allocations: 15.97 kB / 1.34 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004403/1.129, allocations: 0.6455 MB / 1.34 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/1.132, allocations: 1.397 MB / 1.342 GB, free: 10.44 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-05/1.132, allocations: 102.5 kB / 1.342 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/1.132, allocations: 143.9 kB / 1.342 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/1.135, allocations: 1.565 MB / 1.343 GB, free: 8.562 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/1.135, allocations: 7.938 kB / 1.343 GB, free: 8.555 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/1.135, allocations: 60 kB / 1.343 GB, free: 8.496 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/1.135, allocations: 50.39 kB / 1.343 GB, free: 8.445 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/1.137, allocations: 1.266 MB / 1.345 GB, free: 7.172 MB / 1.045 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.009261/1.147, allocations: 7.195 MB / 1.352 GB, free: 15.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/1.148, allocations: 0.6493 MB / 1.352 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/1.148, allocations: 371.7 kB / 1.353 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/1.149, allocations: 109.6 kB / 1.353 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/1.149, allocations: 51.11 kB / 1.353 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005857/1.149, allocations: 99.11 kB / 1.353 GB, free: 14.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=67): time 4.949e-06/1.149, allocations: 0 / 1.353 GB, free: 14.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=67): time 0.001951/1.151, allocations: 1.017 MB / 1.354 GB, free: 13.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/1.151, allocations: 55.97 kB / 1.354 GB, free: 13.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/1.153, allocations: 1.343 MB / 1.355 GB, free: 11.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.065e-05/1.153, allocations: 45.7 kB / 1.355 GB, free: 11.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000564/1.154, allocations: 0.7814 MB / 1.356 GB, free: 10.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/1.154, allocations: 236.5 kB / 1.356 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/1.154, allocations: 198.5 kB / 1.357 GB, free: 10.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.154, allocations: 353.9 kB / 1.357 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/1.155, allocations: 356.7 kB / 1.357 GB, free: 9.688 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007925/1.156, allocations: 0.6751 MB / 1.358 GB, free: 8.875 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/1.157, allocations: 0.9566 MB / 1.359 GB, free: 7.828 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/1.157, allocations: 4 kB / 1.359 GB, free: 7.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001818/1.159, allocations: 1.147 MB / 1.36 GB, free: 6.668 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.159, allocations: 10.19 kB / 1.36 GB, free: 6.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.159, allocations: 8.906 kB / 1.36 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/1.159, allocations: 12 kB / 1.36 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008966/1.16, allocations: 211.7 kB / 1.36 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/1.16, allocations: 15.92 kB / 1.36 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.161, allocations: 51.98 kB / 1.36 GB, free: 6.367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-05/1.161, allocations: 43.94 kB / 1.36 GB, free: 6.324 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001011/1.162, allocations: 0.6854 MB / 1.361 GB, free: 5.633 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007914/1.163, allocations: 0.6751 MB / 1.362 GB, free: 4.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001226/1.164, allocations: 0.9488 MB / 1.363 GB, free: 3.777 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.853e-06/1.164, allocations: 7.938 kB / 1.363 GB, free: 3.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.00177/1.166, allocations: 1.152 MB / 1.364 GB, free: 2.609 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.166, allocations: 11.94 kB / 1.364 GB, free: 2.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.166, allocations: 8 kB / 1.364 GB, free: 2.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/1.166, allocations: 12 kB / 1.364 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008599/1.167, allocations: 207.7 kB / 1.364 GB, free: 2.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/1.167, allocations: 15.92 kB / 1.364 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/1.168, allocations: 51.97 kB / 1.364 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.038e-05/1.168, allocations: 44.05 kB / 1.364 GB, free: 2.266 MB / 1.061 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.0002759/1.168, allocations: 255.8 kB / 1.364 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/1.169, allocations: 150.2 kB / 1.364 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/1.17, allocations: 0.8202 MB / 1.365 GB, free: 1.027 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/1.17, allocations: 12 kB / 1.365 GB, free: 1.016 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.17, allocations: 0 / 1.365 GB, free: 1.016 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/1.171, allocations: 0.7862 MB / 1.366 GB, free: 184 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/1.175, allocations: 2.294 MB / 1.368 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.175, allocations: 4.188 kB / 1.368 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008495/1.176, allocations: 171.8 kB / 1.368 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/1.176, allocations: 4 kB / 1.368 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.97e-05/1.176, allocations: 23.94 kB / 1.368 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.176, allocations: 4 kB / 1.368 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.176, allocations: 0 / 1.368 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/1.178, allocations: 1.265 MB / 1.37 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006756/1.178, allocations: 319.2 kB / 1.37 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/1.179, allocations: 19.94 kB / 1.37 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/1.179, allocations: 41.03 kB / 1.37 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/1.18, allocations: 44.5 kB / 1.37 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/1.18, allocations: 31.98 kB / 1.37 GB, free: 11.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001246/1.181, allocations: 0.9044 MB / 1.371 GB, free: 10.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.6e-07/1.181, allocations: 0 / 1.371 GB, free: 10.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002005/1.183, allocations: 0.8417 MB / 1.372 GB, free: 10.09 MB / 1.076 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.0005584/1.183, allocations: 260.6 kB / 1.372 GB, free: 9.836 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002177/1.186, allocations: 1.338 MB / 1.373 GB, free: 8.504 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.186, allocations: 3.938 kB / 1.373 GB, free: 8.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004708/1.186, allocations: 347 kB / 1.374 GB, free: 8.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/1.189, allocations: 0.8434 MB / 1.375 GB, free: 7.336 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/1.194, allocations: 2.893 MB / 1.377 GB, free: 4.387 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/1.195, allocations: 1.348 MB / 1.379 GB, free: 3.008 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001446/1.197, allocations: 416.3 kB / 1.379 GB, free: 2.598 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/1.197, allocations: 115.4 kB / 1.379 GB, free: 2.484 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/1.197, allocations: 0 / 1.379 GB, free: 2.484 MB / 1.076 GB Notification: Performance of Templates: time 0.04736/1.244, allocations: 29.04 MB / 1.408 GB, free: 5.812 MB / 1.107 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 -s gbode -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/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