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.001814/0.001814, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.00206/0.00206, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.519/1.519, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 469.4 MB / 0.7423 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 60.84 kB / 0.9083 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3236, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7856/1.109, allocations: 271.4 MB / 1.329 GB, free: 9.938 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02356/1.133, allocations: 17.25 MB / 1.346 GB, free: 8.641 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/1.136, allocations: 63.62 kB / 1.346 GB, free: 8.578 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003362/1.139, allocations: 1.038 MB / 1.347 GB, free: 7.535 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008109/1.147, allocations: 2.899 MB / 1.349 GB, free: 4.625 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005568/1.153, allocations: 2.055 MB / 1.351 GB, free: 2.582 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00668/1.159, allocations: 4.845 MB / 1.356 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/1.163, allocations: 1.729 MB / 1.358 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006989/1.17, allocations: 2.403 MB / 1.36 GB, free: 9.578 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00338/1.173, allocations: 1.638 MB / 1.362 GB, free: 7.945 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007207/1.174, allocations: 196 kB / 1.362 GB, free: 7.754 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006246/1.18, allocations: 3.137 MB / 1.365 GB, free: 4.609 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001215/1.181, allocations: 0.7324 MB / 1.366 GB, free: 3.875 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002336/1.184, allocations: 1.124 MB / 1.367 GB, free: 2.746 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00446/1.188, allocations: 2.896 MB / 1.37 GB, free: 15.84 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.188, allocations: 3.938 kB / 1.37 GB, free: 15.84 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.714e-06/1.188, allocations: 0 / 1.37 GB, free: 15.84 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.564e-05/1.188, allocations: 4 kB / 1.37 GB, free: 15.84 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.005586/1.194, allocations: 2.428 MB / 1.372 GB, free: 13.34 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.194, allocations: 12.62 kB / 1.372 GB, free: 13.33 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/1.199, allocations: 0.6493 MB / 1.373 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/1.201, allocations: 1.334 MB / 1.374 GB, free: 11.29 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/1.201, allocations: 98.55 kB / 1.374 GB, free: 11.19 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/1.202, allocations: 140 kB / 1.374 GB, free: 11.05 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/1.205, allocations: 1.574 MB / 1.376 GB, free: 9.41 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/1.205, allocations: 7.844 kB / 1.376 GB, free: 9.402 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/1.205, allocations: 52 kB / 1.376 GB, free: 9.352 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/1.205, allocations: 50.39 kB / 1.376 GB, free: 9.301 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/1.208, allocations: 1.274 MB / 1.377 GB, free: 8.02 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.009741/1.217, allocations: 7.214 MB / 1.384 GB, free: 244 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/1.219, allocations: 0.6488 MB / 1.385 GB, free: 15.58 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/1.219, allocations: 377.9 kB / 1.385 GB, free: 15.21 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/1.219, allocations: 109.6 kB / 1.385 GB, free: 15.08 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/1.219, allocations: 43.12 kB / 1.385 GB, free: 15.03 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009265/1.22, allocations: 119.1 kB / 1.385 GB, free: 14.91 MB / 1.107 GB Notification: Performance of pre-optimization done (n=67): time 6.682e-06/1.22, allocations: 3.984 kB / 1.385 GB, free: 14.91 MB / 1.107 GB Notification: Performance of matching and sorting (n=67): time 0.002062/1.222, allocations: 1.024 MB / 1.386 GB, free: 13.88 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/1.222, allocations: 63.84 kB / 1.387 GB, free: 13.81 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/1.224, allocations: 1.343 MB / 1.388 GB, free: 12.46 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.225, allocations: 45.7 kB / 1.388 GB, free: 12.41 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005767/1.225, allocations: 0.7697 MB / 1.389 GB, free: 11.63 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/1.225, allocations: 248.5 kB / 1.389 GB, free: 11.38 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/1.226, allocations: 198.5 kB / 1.389 GB, free: 11.18 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.226, allocations: 349.9 kB / 1.389 GB, free: 10.83 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/1.226, allocations: 356.7 kB / 1.39 GB, free: 10.48 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007909/1.227, allocations: 0.6751 MB / 1.39 GB, free: 9.668 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/1.228, allocations: 0.9567 MB / 1.391 GB, free: 8.621 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/1.228, allocations: 4 kB / 1.391 GB, free: 8.617 MB / 1.107 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001813/1.23, allocations: 1.148 MB / 1.392 GB, free: 7.461 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.23, allocations: 8 kB / 1.392 GB, free: 7.453 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.23, allocations: 8 kB / 1.392 GB, free: 7.445 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/1.23, allocations: 12.72 kB / 1.393 GB, free: 7.434 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000884/1.231, allocations: 203.7 kB / 1.393 GB, free: 7.234 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/1.231, allocations: 23.92 kB / 1.393 GB, free: 7.211 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.233, allocations: 138.8 kB / 1.393 GB, free: 7.078 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/1.233, allocations: 39.98 kB / 1.393 GB, free: 7.039 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001013/1.234, allocations: 0.6854 MB / 1.394 GB, free: 6.352 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007855/1.235, allocations: 0.6889 MB / 1.394 GB, free: 5.52 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001196/1.236, allocations: 0.941 MB / 1.395 GB, free: 4.488 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.644e-06/1.236, allocations: 7.938 kB / 1.395 GB, free: 4.48 MB / 1.107 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001776/1.238, allocations: 1.148 MB / 1.396 GB, free: 3.324 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.238, allocations: 11.98 kB / 1.396 GB, free: 3.312 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.238, allocations: 8 kB / 1.396 GB, free: 3.305 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.238, allocations: 12 kB / 1.396 GB, free: 3.293 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008246/1.239, allocations: 199.7 kB / 1.397 GB, free: 3.098 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/1.239, allocations: 15.94 kB / 1.397 GB, free: 3.082 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.24, allocations: 151.9 kB / 1.397 GB, free: 2.934 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.976e-05/1.24, allocations: 40 kB / 1.397 GB, free: 2.895 MB / 1.107 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.0002777/1.241, allocations: 259.8 kB / 1.397 GB, free: 2.633 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/1.241, allocations: 146.2 kB / 1.397 GB, free: 2.488 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/1.242, allocations: 0.8242 MB / 1.398 GB, free: 1.648 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.242, allocations: 11.94 kB / 1.398 GB, free: 1.637 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.242, allocations: 0 / 1.398 GB, free: 1.637 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009511/1.243, allocations: 0.7862 MB / 1.399 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/1.247, allocations: 2.302 MB / 1.401 GB, free: 14.42 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.247, allocations: 0 / 1.401 GB, free: 14.42 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008164/1.248, allocations: 167.8 kB / 1.401 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/1.248, allocations: 4 kB / 1.401 GB, free: 14.25 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/1.248, allocations: 24.12 kB / 1.401 GB, free: 14.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/1.248, allocations: 8 kB / 1.401 GB, free: 14.22 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.248, allocations: 0 / 1.401 GB, free: 14.22 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/1.25, allocations: 1.253 MB / 1.402 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006264/1.25, allocations: 331.1 kB / 1.403 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/1.251, allocations: 15.94 kB / 1.403 GB, free: 12.57 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/1.252, allocations: 91.83 kB / 1.403 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/1.252, allocations: 40.5 kB / 1.403 GB, free: 12.44 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/1.252, allocations: 31.98 kB / 1.403 GB, free: 12.41 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001278/1.253, allocations: 0.9083 MB / 1.404 GB, free: 11.5 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.91e-07/1.253, allocations: 0 / 1.404 GB, free: 11.5 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002249/1.255, allocations: 0.8457 MB / 1.405 GB, free: 10.66 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.0006986/1.256, allocations: 260 kB / 1.405 GB, free: 10.4 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002553/1.259, allocations: 1.444 MB / 1.406 GB, free: 8.965 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.259, allocations: 0 / 1.406 GB, free: 8.965 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/1.259, allocations: 354.9 kB / 1.407 GB, free: 8.621 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/1.263, allocations: 0.8455 MB / 1.407 GB, free: 7.797 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/1.269, allocations: 3.606 MB / 1.411 GB, free: 4.129 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.27, allocations: 1.341 MB / 1.412 GB, free: 2.762 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/1.27, allocations: 123.4 kB / 1.412 GB, free: 2.641 MB / 1.123 GB Notification: Performance of SimCode: time 7.91e-07/1.27, allocations: 0 / 1.412 GB, free: 2.641 MB / 1.123 GB Notification: Performance of Templates: time 0.03961/1.31, allocations: 25.12 MB / 1.437 GB, free: 9.688 MB / 1.154 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/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