Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: 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_11_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_11_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.001544/0.001544, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001546/0.001546, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.434/1.434, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.69/2.69, allocations: 469.8 MB / 0.743 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 72.12 kB / 0.9092 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3469, allocations: 159.2 MB / 1.065 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8072/1.154, allocations: 274.6 MB / 1.333 GB, free: 5.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02507/1.179, allocations: 17.37 MB / 1.35 GB, free: 4.496 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/1.182, allocations: 67.62 kB / 1.35 GB, free: 4.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003424/1.185, allocations: 1.165 MB / 1.351 GB, free: 3.258 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008593/1.194, allocations: 3.1 MB / 1.354 GB, free: 148 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005882/1.2, allocations: 2.191 MB / 1.356 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007233/1.207, allocations: 4.845 MB / 1.361 GB, free: 9.105 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003048/1.21, allocations: 1.768 MB / 1.363 GB, free: 7.309 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006653/1.217, allocations: 2.396 MB / 1.365 GB, free: 4.918 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003443/1.22, allocations: 1.536 MB / 1.366 GB, free: 3.387 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0006486/1.221, allocations: 192 kB / 1.367 GB, free: 3.199 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006936/1.228, allocations: 3.013 MB / 1.37 GB, free: 184 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001273/1.229, allocations: 0.7246 MB / 1.37 GB, free: 15.45 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00201/1.231, allocations: 1.124 MB / 1.371 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007315/1.239, allocations: 3.806 MB / 1.375 GB, free: 10.51 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.239, allocations: 0 / 1.375 GB, free: 10.51 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.643e-06/1.239, allocations: 0 / 1.375 GB, free: 10.51 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.875e-05/1.239, allocations: 0 / 1.375 GB, free: 10.51 MB / 1.092 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.00534/1.244, allocations: 2.428 MB / 1.377 GB, free: 8.012 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.244, allocations: 8.031 kB / 1.377 GB, free: 8.004 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/1.249, allocations: 0.6494 MB / 1.378 GB, free: 7.352 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/1.251, allocations: 1.334 MB / 1.379 GB, free: 5.961 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/1.251, allocations: 102.5 kB / 1.379 GB, free: 5.859 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002514/1.252, allocations: 140 kB / 1.38 GB, free: 5.723 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/1.254, allocations: 1.573 MB / 1.381 GB, free: 4.082 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/1.254, allocations: 3.906 kB / 1.381 GB, free: 4.078 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/1.255, allocations: 56 kB / 1.381 GB, free: 4.023 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-05/1.255, allocations: 54.39 kB / 1.381 GB, free: 3.969 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/1.257, allocations: 1.27 MB / 1.383 GB, free: 2.691 MB / 1.092 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.01025/1.267, allocations: 7.262 MB / 1.39 GB, free: 10.86 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/1.268, allocations: 0.6556 MB / 1.39 GB, free: 10.2 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005834/1.269, allocations: 375.6 kB / 1.391 GB, free: 9.832 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/1.269, allocations: 109.6 kB / 1.391 GB, free: 9.707 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/1.269, allocations: 47.11 kB / 1.391 GB, free: 9.652 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006825/1.27, allocations: 103.1 kB / 1.391 GB, free: 9.551 MB / 1.107 GB Notification: Performance of pre-optimization done (n=67): time 3.035e-06/1.27, allocations: 0 / 1.391 GB, free: 9.551 MB / 1.107 GB Notification: Performance of matching and sorting (n=67): time 0.00204/1.272, allocations: 1.016 MB / 1.392 GB, free: 8.531 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/1.272, allocations: 59.97 kB / 1.392 GB, free: 8.461 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/1.274, allocations: 1.339 MB / 1.393 GB, free: 7.113 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.274, allocations: 45.7 kB / 1.393 GB, free: 7.062 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007208/1.275, allocations: 0.7737 MB / 1.394 GB, free: 6.281 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/1.275, allocations: 244.5 kB / 1.394 GB, free: 6.039 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/1.276, allocations: 198.6 kB / 1.394 GB, free: 5.836 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.276, allocations: 349.9 kB / 1.395 GB, free: 5.488 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005819/1.276, allocations: 360.7 kB / 1.395 GB, free: 5.133 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008893/1.277, allocations: 0.6768 MB / 1.396 GB, free: 4.32 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/1.279, allocations: 0.9566 MB / 1.397 GB, free: 3.273 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.279, allocations: 4 kB / 1.397 GB, free: 3.27 MB / 1.107 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002006/1.281, allocations: 1.148 MB / 1.398 GB, free: 2.113 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.281, allocations: 8.125 kB / 1.398 GB, free: 2.105 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.281, allocations: 12 kB / 1.398 GB, free: 2.094 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/1.281, allocations: 12 kB / 1.398 GB, free: 2.082 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/1.282, allocations: 215.6 kB / 1.398 GB, free: 1.871 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/1.282, allocations: 12 kB / 1.398 GB, free: 1.859 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.283, allocations: 47.88 kB / 1.398 GB, free: 1.812 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/1.283, allocations: 43.98 kB / 1.398 GB, free: 1.77 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001205/1.284, allocations: 0.6815 MB / 1.399 GB, free: 1.086 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009031/1.285, allocations: 0.6829 MB / 1.399 GB, free: 268 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00138/1.287, allocations: 0.9489 MB / 1.4 GB, free: 15.22 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/1.287, allocations: 4 kB / 1.4 GB, free: 15.22 MB / 1.123 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002024/1.289, allocations: 1.148 MB / 1.402 GB, free: 14.06 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.289, allocations: 8 kB / 1.402 GB, free: 14.05 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.289, allocations: 4 kB / 1.402 GB, free: 14.05 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.289, allocations: 15.98 kB / 1.402 GB, free: 14.03 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/1.29, allocations: 211.7 kB / 1.402 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/1.29, allocations: 15.94 kB / 1.402 GB, free: 13.81 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/1.291, allocations: 70.45 kB / 1.402 GB, free: 13.74 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/1.291, allocations: 40 kB / 1.402 GB, free: 13.7 MB / 1.123 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.0003165/1.292, allocations: 244.6 kB / 1.402 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/1.292, allocations: 150.2 kB / 1.402 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/1.293, allocations: 0.8318 MB / 1.403 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/1.293, allocations: 4 kB / 1.403 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.293, allocations: 0 / 1.403 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/1.294, allocations: 0.7863 MB / 1.404 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/1.298, allocations: 2.314 MB / 1.406 GB, free: 9.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.298, allocations: 0 / 1.406 GB, free: 9.23 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008595/1.299, allocations: 163.8 kB / 1.406 GB, free: 9.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/1.299, allocations: 4 kB / 1.406 GB, free: 9.066 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/1.299, allocations: 23.98 kB / 1.406 GB, free: 9.043 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/1.299, allocations: 8.125 kB / 1.406 GB, free: 9.035 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.299, allocations: 7.938 kB / 1.406 GB, free: 9.027 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/1.301, allocations: 1.249 MB / 1.408 GB, free: 7.738 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/1.302, allocations: 315.2 kB / 1.408 GB, free: 7.41 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/1.302, allocations: 20 kB / 1.408 GB, free: 7.391 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/1.303, allocations: 45.05 kB / 1.408 GB, free: 7.348 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.303, allocations: 44.45 kB / 1.408 GB, free: 7.305 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/1.303, allocations: 35.97 kB / 1.408 GB, free: 7.27 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001385/1.305, allocations: 0.9083 MB / 1.409 GB, free: 6.363 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.8e-07/1.305, allocations: 0 / 1.409 GB, free: 6.363 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002098/1.307, allocations: 0.8378 MB / 1.41 GB, free: 5.523 MB / 1.123 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.0006823/1.307, allocations: 256.3 kB / 1.41 GB, free: 5.273 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002761/1.31, allocations: 1.444 MB / 1.411 GB, free: 3.836 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.31, allocations: 0 / 1.411 GB, free: 3.836 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005213/1.311, allocations: 347.5 kB / 1.412 GB, free: 3.5 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004121/1.315, allocations: 0.8442 MB / 1.412 GB, free: 2.676 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/1.32, allocations: 3.011 MB / 1.415 GB, free: 15.61 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.321, allocations: 1.348 MB / 1.417 GB, free: 14.23 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/1.322, allocations: 119.4 kB / 1.417 GB, free: 14.11 MB / 1.139 GB Notification: Performance of SimCode: time 7.92e-07/1.322, allocations: 0 / 1.417 GB, free: 14.11 MB / 1.139 GB Notification: Performance of Templates: time 0.04128/1.363, allocations: 25.07 MB / 1.441 GB, free: 5.219 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches