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.001517/0.001517, allocations: 106.1 kB / 16.36 MB, free: 5.824 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.00169/0.00169, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.563/2.563, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001502, allocations: 71.98 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3457, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.9513/1.297, allocations: 274.6 MB / 1.295 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02299/1.32, allocations: 17.37 MB / 1.312 GB, free: 9.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/1.323, allocations: 67.62 kB / 1.312 GB, free: 9.023 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003391/1.326, allocations: 1.165 MB / 1.313 GB, free: 7.852 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008545/1.335, allocations: 3.103 MB / 1.316 GB, free: 4.734 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006014/1.341, allocations: 2.213 MB / 1.318 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007062/1.348, allocations: 4.842 MB / 1.323 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/1.351, allocations: 1.763 MB / 1.325 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005664/1.356, allocations: 2.412 MB / 1.327 GB, free: 9.473 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/1.359, allocations: 1.541 MB / 1.329 GB, free: 7.938 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003884/1.36, allocations: 196 kB / 1.329 GB, free: 7.746 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006836/1.367, allocations: 3.009 MB / 1.332 GB, free: 4.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001183/1.368, allocations: 0.7245 MB / 1.332 GB, free: 4.004 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001999/1.37, allocations: 1.116 MB / 1.333 GB, free: 2.883 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008745/1.379, allocations: 3.829 MB / 1.337 GB, free: 15.04 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.379, allocations: 4 kB / 1.337 GB, free: 15.04 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.655e-06/1.379, allocations: 0 / 1.337 GB, free: 15.04 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.473e-05/1.379, allocations: 0 / 1.337 GB, free: 15.04 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.005111/1.384, allocations: 2.424 MB / 1.34 GB, free: 12.55 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.384, allocations: 12.03 kB / 1.34 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004324/1.388, allocations: 0.6494 MB / 1.34 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/1.391, allocations: 1.397 MB / 1.342 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/1.391, allocations: 102.5 kB / 1.342 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/1.391, allocations: 140 kB / 1.342 GB, free: 10.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/1.394, allocations: 1.569 MB / 1.343 GB, free: 8.555 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/1.394, allocations: 4 kB / 1.343 GB, free: 8.551 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/1.394, allocations: 52 kB / 1.343 GB, free: 8.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.656e-05/1.394, allocations: 50.39 kB / 1.343 GB, free: 8.449 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/1.396, allocations: 1.274 MB / 1.345 GB, free: 7.168 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.009438/1.406, allocations: 7.206 MB / 1.352 GB, free: 15.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/1.407, allocations: 0.6454 MB / 1.352 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/1.408, allocations: 371.7 kB / 1.353 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/1.408, allocations: 101.7 kB / 1.353 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/1.408, allocations: 55.11 kB / 1.353 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000584/1.409, allocations: 99.02 kB / 1.353 GB, free: 14.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=67): time 4.359e-06/1.409, allocations: 0 / 1.353 GB, free: 14.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=67): time 0.001976/1.411, allocations: 1.016 MB / 1.354 GB, free: 13.08 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/1.411, allocations: 63.97 kB / 1.354 GB, free: 13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/1.412, allocations: 1.335 MB / 1.355 GB, free: 11.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/1.412, allocations: 45.7 kB / 1.355 GB, free: 11.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/1.413, allocations: 0.7775 MB / 1.356 GB, free: 10.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/1.413, allocations: 240.5 kB / 1.356 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/1.414, allocations: 202.4 kB / 1.357 GB, free: 10.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001991/1.414, allocations: 349.9 kB / 1.357 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005824/1.414, allocations: 356.7 kB / 1.357 GB, free: 9.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/1.415, allocations: 0.6829 MB / 1.358 GB, free: 8.859 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/1.416, allocations: 0.9528 MB / 1.359 GB, free: 7.816 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.416, allocations: 4 kB / 1.359 GB, free: 7.812 MB / 1.061 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001777/1.418, allocations: 1.148 MB / 1.36 GB, free: 6.656 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.418, allocations: 8 kB / 1.36 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.418, allocations: 8 kB / 1.36 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/1.418, allocations: 12 kB / 1.36 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008639/1.419, allocations: 215.6 kB / 1.36 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.419, allocations: 12.56 kB / 1.36 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.42, allocations: 51.88 kB / 1.36 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.963e-05/1.42, allocations: 40 kB / 1.36 GB, free: 6.316 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001046/1.422, allocations: 0.6892 MB / 1.361 GB, free: 5.621 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007953/1.422, allocations: 0.6751 MB / 1.362 GB, free: 4.809 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001217/1.424, allocations: 0.945 MB / 1.363 GB, free: 3.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/1.424, allocations: 7.938 kB / 1.363 GB, free: 3.762 MB / 1.061 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001761/1.425, allocations: 1.152 MB / 1.364 GB, free: 2.602 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/1.425, allocations: 10.12 kB / 1.364 GB, free: 2.594 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.425, allocations: 8 kB / 1.364 GB, free: 2.586 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.425, allocations: 16 kB / 1.364 GB, free: 2.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/1.426, allocations: 211.7 kB / 1.364 GB, free: 2.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/1.426, allocations: 19.92 kB / 1.364 GB, free: 2.344 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.427, allocations: 53.03 kB / 1.364 GB, free: 2.293 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/1.427, allocations: 43.98 kB / 1.364 GB, free: 2.25 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.0003017/1.428, allocations: 243.9 kB / 1.364 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/1.428, allocations: 154.2 kB / 1.364 GB, free: 1.852 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/1.429, allocations: 0.824 MB / 1.365 GB, free: 1.016 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.429, allocations: 8 kB / 1.365 GB, free: 1.008 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.429, allocations: 3.938 kB / 1.365 GB, free: 1.004 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009884/1.43, allocations: 0.7863 MB / 1.366 GB, free: 172 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/1.434, allocations: 2.302 MB / 1.368 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.434, allocations: 4 kB / 1.368 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008073/1.435, allocations: 168 kB / 1.368 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.802e-05/1.435, allocations: 4 kB / 1.368 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/1.435, allocations: 23.94 kB / 1.368 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.435, allocations: 4 kB / 1.368 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.435, allocations: 7.938 kB / 1.368 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/1.437, allocations: 1.253 MB / 1.37 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005862/1.437, allocations: 315.3 kB / 1.37 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/1.437, allocations: 19.94 kB / 1.37 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008514/1.438, allocations: 41.53 kB / 1.37 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/1.438, allocations: 48.44 kB / 1.37 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.964e-05/1.438, allocations: 35.98 kB / 1.37 GB, free: 11.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001351/1.44, allocations: 0.9043 MB / 1.371 GB, free: 10.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.31e-07/1.44, allocations: 4 kB / 1.371 GB, free: 10.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002195/1.442, allocations: 0.8378 MB / 1.372 GB, free: 10.07 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.0006252/1.443, allocations: 264.9 kB / 1.372 GB, free: 9.816 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002175/1.445, allocations: 1.327 MB / 1.373 GB, free: 8.496 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.445, allocations: 8.062 kB / 1.373 GB, free: 8.488 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006237/1.445, allocations: 346.9 kB / 1.374 GB, free: 8.148 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/1.449, allocations: 0.8424 MB / 1.375 GB, free: 7.324 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/1.453, allocations: 2.89 MB / 1.377 GB, free: 4.379 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00092/1.454, allocations: 1.348 MB / 1.379 GB, free: 3 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001423/1.456, allocations: 420.3 kB / 1.379 GB, free: 2.586 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/1.456, allocations: 115.4 kB / 1.379 GB, free: 2.473 MB / 1.076 GB Notification: Performance of SimCode: time 6.21e-07/1.456, allocations: 0 / 1.379 GB, free: 2.473 MB / 1.076 GB Notification: Performance of Templates: time 0.04656/1.502, allocations: 29.04 MB / 1.408 GB, free: 5.805 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 cvode -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