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.0009681/0.0009681, allocations: 90.52 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.00681/0.00681, allocations: 171.1 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.506/1.506, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.858/2.858, allocations: 462.6 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003757, allocations: 12.77 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4209, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.118/1.539, allocations: 268.8 MB / 1.321 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02303/1.562, allocations: 17.28 MB / 1.338 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003393/1.566, allocations: 60.81 kB / 1.338 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003187/1.569, allocations: 0.9897 MB / 1.339 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008758/1.578, allocations: 2.924 MB / 1.342 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005875/1.583, allocations: 2.022 MB / 1.344 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008475/1.592, allocations: 6.743 MB / 1.351 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/1.595, allocations: 1.446 MB / 1.352 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006879/1.602, allocations: 2.055 MB / 1.354 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0044/1.606, allocations: 1.525 MB / 1.355 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007063/1.607, allocations: 75.47 kB / 1.355 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009396/1.616, allocations: 3.401 MB / 1.359 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001718/1.618, allocations: 0.6012 MB / 1.359 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003937/1.622, allocations: 0.9997 MB / 1.36 GB, free: 17 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01101/1.633, allocations: 3.85 MB / 1.364 GB, free: 16.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.633, allocations: 3.156 kB / 1.364 GB, free: 16.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.455e-06/1.633, allocations: 2.625 kB / 1.364 GB, free: 16.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001555/1.633, allocations: 0 / 1.364 GB, free: 16.57 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.005762/1.639, allocations: 2.03 MB / 1.366 GB, free: 15.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.639, allocations: 9.406 kB / 1.366 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004883/1.644, allocations: 0.6489 MB / 1.367 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/1.647, allocations: 1.338 MB / 1.368 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/1.647, allocations: 100.5 kB / 1.368 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/1.647, allocations: 139.7 kB / 1.368 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/1.65, allocations: 1.572 MB / 1.37 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/1.65, allocations: 2.531 kB / 1.37 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/1.65, allocations: 60.42 kB / 1.37 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.869e-05/1.65, allocations: 45.14 kB / 1.37 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/1.653, allocations: 1.269 MB / 1.371 GB, free: 14.11 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.0103/1.663, allocations: 7.237 MB / 1.378 GB, free: 9.211 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.664, allocations: 0.6503 MB / 1.379 GB, free: 9.109 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/1.664, allocations: 377.5 kB / 1.379 GB, free: 9.051 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/1.665, allocations: 108.6 kB / 1.379 GB, free: 8.949 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/1.665, allocations: 47.44 kB / 1.379 GB, free: 8.906 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001002/1.666, allocations: 141.8 kB / 1.38 GB, free: 8.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=67): time 2.925e-06/1.666, allocations: 0 / 1.38 GB, free: 8.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=67): time 0.00182/1.668, allocations: 1.023 MB / 1.381 GB, free: 8.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/1.668, allocations: 60.69 kB / 1.381 GB, free: 8.277 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/1.669, allocations: 1.341 MB / 1.382 GB, free: 7.551 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/1.67, allocations: 49.77 kB / 1.382 GB, free: 7.504 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006333/1.67, allocations: 0.7695 MB / 1.383 GB, free: 6.832 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/1.67, allocations: 244.7 kB / 1.383 GB, free: 6.621 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/1.671, allocations: 86.11 kB / 1.383 GB, free: 6.562 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.671, allocations: 342.4 kB / 1.383 GB, free: 6.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/1.671, allocations: 354.8 kB / 1.384 GB, free: 6.059 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008355/1.672, allocations: 0.6756 MB / 1.384 GB, free: 5.469 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/1.673, allocations: 0.9557 MB / 1.385 GB, free: 4.828 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.673, allocations: 3.125 kB / 1.385 GB, free: 4.828 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002138/1.676, allocations: 1.154 MB / 1.386 GB, free: 4.285 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002297/1.676, allocations: 296.7 kB / 1.387 GB, free: 3.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.676, allocations: 7.938 kB / 1.387 GB, free: 3.918 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/1.676, allocations: 11.62 kB / 1.387 GB, free: 3.918 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/1.677, allocations: 210.1 kB / 1.387 GB, free: 3.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/1.677, allocations: 17.92 kB / 1.387 GB, free: 3.883 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.679, allocations: 133.8 kB / 1.387 GB, free: 3.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/1.679, allocations: 43.14 kB / 1.387 GB, free: 3.809 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/1.679, allocations: 2.938 kB / 1.387 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001465/1.68, allocations: 0.9845 MB / 1.388 GB, free: 3.359 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.68, allocations: 6.156 kB / 1.388 GB, free: 3.359 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/1.68, allocations: 18.06 kB / 1.388 GB, free: 3.355 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/1.681, allocations: 207.3 kB / 1.388 GB, free: 3.324 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/1.681, allocations: 26.23 kB / 1.388 GB, free: 3.312 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/1.683, allocations: 141.5 kB / 1.388 GB, free: 3.242 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/1.683, allocations: 43.23 kB / 1.388 GB, free: 3.23 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.001104/1.684, allocations: 0.4895 MB / 1.389 GB, free: 2.867 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/1.684, allocations: 148.7 kB / 1.389 GB, free: 2.793 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/1.686, allocations: 0.8284 MB / 1.39 GB, free: 2.301 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.686, allocations: 14.09 kB / 1.39 GB, free: 2.293 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.686, allocations: 0 / 1.39 GB, free: 2.293 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/1.687, allocations: 0.7846 MB / 1.391 GB, free: 1.762 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/1.691, allocations: 2.301 MB / 1.393 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.691, allocations: 4.031 kB / 1.393 GB, free: 188 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008096/1.692, allocations: 177.8 kB / 1.393 GB, free: 152 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/1.692, allocations: 3 kB / 1.393 GB, free: 152 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/1.692, allocations: 14.75 kB / 1.393 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.692, allocations: 3.156 kB / 1.393 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.692, allocations: 3.125 kB / 1.393 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/1.694, allocations: 1.261 MB / 1.394 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008414/1.695, allocations: 320.7 kB / 1.395 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/1.695, allocations: 17.62 kB / 1.395 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.696, allocations: 98.84 kB / 1.395 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/1.696, allocations: 47.83 kB / 1.395 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/1.696, allocations: 39.88 kB / 1.395 GB, free: 15.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001402/1.698, allocations: 0.9067 MB / 1.396 GB, free: 14.53 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.9e-07/1.698, allocations: 0 / 1.396 GB, free: 14.53 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002366/1.7, allocations: 0.8492 MB / 1.397 GB, free: 14.38 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.0006642/1.701, allocations: 258.2 kB / 1.397 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002289/1.703, allocations: 1.327 MB / 1.398 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.703, allocations: 3.281 kB / 1.398 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000484/1.704, allocations: 352.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.004605/1.708, allocations: 0.8264 MB / 1.399 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00534/1.714, allocations: 3.636 MB / 1.403 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.715, allocations: 1.352 MB / 1.404 GB, free: 9.566 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001967/1.717, allocations: 423.8 kB / 1.405 GB, free: 9.367 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/1.717, allocations: 118.7 kB / 1.405 GB, free: 9.348 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/1.717, allocations: 0 / 1.405 GB, free: 9.348 MB / 1.029 GB Notification: Performance of Templates: time 0.05249/1.769, 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