Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001408/0.001408, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001524/0.001524, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 64.09 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8227/0.8241, allocations: 140.4 MB / 1.089 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.3079/1.132, allocations: 274.6 MB / 1.357 GB, free: 10.78 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02766/1.16, allocations: 17.38 MB / 1.374 GB, free: 9.352 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/1.163, allocations: 71.56 kB / 1.374 GB, free: 9.281 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003964/1.167, allocations: 1.157 MB / 1.375 GB, free: 8.117 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009997/1.177, allocations: 3.106 MB / 1.378 GB, free: 5 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006902/1.184, allocations: 2.212 MB / 1.38 GB, free: 2.793 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008517/1.193, allocations: 4.843 MB / 1.385 GB, free: 13.94 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003713/1.196, allocations: 1.763 MB / 1.387 GB, free: 12.14 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008149/1.204, allocations: 2.447 MB / 1.389 GB, free: 9.695 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003797/1.208, allocations: 1.537 MB / 1.391 GB, free: 8.164 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0009086/1.209, allocations: 192 kB / 1.391 GB, free: 7.977 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007307/1.217, allocations: 3.016 MB / 1.394 GB, free: 4.953 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001492/1.218, allocations: 0.7245 MB / 1.394 GB, free: 4.227 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002956/1.221, allocations: 1.116 MB / 1.395 GB, free: 3.105 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.009001/1.23, allocations: 3.829 MB / 1.399 GB, free: 15.27 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/1.23, allocations: 0 / 1.399 GB, free: 15.27 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.124e-06/1.23, allocations: 0 / 1.399 GB, free: 15.27 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.537e-05/1.23, allocations: 0 / 1.399 GB, free: 15.27 MB / 1.139 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.00543/1.236, allocations: 2.435 MB / 1.402 GB, free: 12.76 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.236, allocations: 11.97 kB / 1.402 GB, free: 12.75 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004435/1.24, allocations: 0.6377 MB / 1.402 GB, free: 12.11 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/1.243, allocations: 1.404 MB / 1.404 GB, free: 10.65 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.268e-05/1.243, allocations: 102.5 kB / 1.404 GB, free: 10.55 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/1.243, allocations: 139.9 kB / 1.404 GB, free: 10.41 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/1.246, allocations: 1.569 MB / 1.405 GB, free: 8.773 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/1.246, allocations: 3.938 kB / 1.405 GB, free: 8.77 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/1.246, allocations: 55.94 kB / 1.405 GB, free: 8.715 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/1.246, allocations: 50.39 kB / 1.405 GB, free: 8.664 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/1.248, allocations: 1.274 MB / 1.407 GB, free: 7.383 MB / 1.139 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.009312/1.258, allocations: 7.198 MB / 1.414 GB, free: 15.62 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/1.259, allocations: 0.646 MB / 1.414 GB, free: 14.96 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/1.259, allocations: 370.4 kB / 1.415 GB, free: 14.6 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/1.26, allocations: 105.6 kB / 1.415 GB, free: 14.48 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/1.26, allocations: 43.12 kB / 1.415 GB, free: 14.43 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006861/1.26, allocations: 99.11 kB / 1.415 GB, free: 14.33 MB / 1.154 GB Notification: Performance of pre-optimization done (n=67): time 2.995e-06/1.26, allocations: 0 / 1.415 GB, free: 14.33 MB / 1.154 GB Notification: Performance of matching and sorting (n=67): time 0.001869/1.262, allocations: 1.02 MB / 1.416 GB, free: 13.3 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/1.262, allocations: 59.97 kB / 1.416 GB, free: 13.23 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/1.264, allocations: 1.335 MB / 1.417 GB, free: 11.89 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.264, allocations: 49.7 kB / 1.417 GB, free: 11.83 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/1.265, allocations: 0.7736 MB / 1.418 GB, free: 11.05 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/1.265, allocations: 248.6 kB / 1.418 GB, free: 10.8 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/1.265, allocations: 198.5 kB / 1.419 GB, free: 10.6 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.266, allocations: 345.9 kB / 1.419 GB, free: 10.26 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/1.266, allocations: 352.7 kB / 1.419 GB, free: 9.91 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/1.267, allocations: 0.6869 MB / 1.42 GB, free: 9.082 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/1.268, allocations: 0.9564 MB / 1.421 GB, free: 8.035 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/1.268, allocations: 4 kB / 1.421 GB, free: 8.031 MB / 1.154 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002003/1.27, allocations: 1.156 MB / 1.422 GB, free: 6.867 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.27, allocations: 8 kB / 1.422 GB, free: 6.859 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.27, allocations: 4 kB / 1.422 GB, free: 6.855 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/1.27, allocations: 12 kB / 1.422 GB, free: 6.844 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009655/1.271, allocations: 207.7 kB / 1.422 GB, free: 6.641 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/1.271, allocations: 15.94 kB / 1.422 GB, free: 6.625 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/1.273, allocations: 52.2 kB / 1.422 GB, free: 6.574 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/1.273, allocations: 43.98 kB / 1.422 GB, free: 6.531 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001226/1.274, allocations: 0.6854 MB / 1.423 GB, free: 5.844 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000797/1.275, allocations: 0.6751 MB / 1.424 GB, free: 5.027 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001227/1.276, allocations: 0.9604 MB / 1.425 GB, free: 3.98 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/1.276, allocations: 0 / 1.425 GB, free: 3.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001836/1.278, allocations: 1.155 MB / 1.426 GB, free: 2.812 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.278, allocations: 14.28 kB / 1.426 GB, free: 2.801 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.278, allocations: 4 kB / 1.426 GB, free: 2.797 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/1.278, allocations: 12.72 kB / 1.426 GB, free: 2.785 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/1.279, allocations: 203.7 kB / 1.426 GB, free: 2.586 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/1.279, allocations: 19.94 kB / 1.426 GB, free: 2.566 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/1.28, allocations: 66.5 kB / 1.426 GB, free: 2.504 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/1.28, allocations: 40 kB / 1.426 GB, free: 2.465 MB / 1.154 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.0003118/1.281, allocations: 243.9 kB / 1.426 GB, free: 2.219 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/1.281, allocations: 158.1 kB / 1.426 GB, free: 2.062 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/1.282, allocations: 0.8164 MB / 1.427 GB, free: 1.23 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/1.282, allocations: 8 kB / 1.427 GB, free: 1.223 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.282, allocations: 0 / 1.427 GB, free: 1.223 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009759/1.283, allocations: 0.794 MB / 1.428 GB, free: 388 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/1.287, allocations: 2.298 MB / 1.43 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.287, allocations: 4 kB / 1.43 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/1.288, allocations: 159.8 kB / 1.43 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/1.288, allocations: 8 kB / 1.43 GB, free: 13.83 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/1.288, allocations: 24.11 kB / 1.43 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/1.288, allocations: 8 kB / 1.43 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.288, allocations: 4 kB / 1.43 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/1.289, allocations: 1.253 MB / 1.432 GB, free: 12.51 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/1.29, allocations: 327.1 kB / 1.432 GB, free: 12.17 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/1.29, allocations: 20.06 kB / 1.432 GB, free: 12.15 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008704/1.291, allocations: 35.97 kB / 1.432 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.291, allocations: 36.52 kB / 1.432 GB, free: 12.08 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.673e-05/1.291, allocations: 35.98 kB / 1.432 GB, free: 12.04 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001286/1.293, allocations: 0.916 MB / 1.433 GB, free: 11.13 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/1.293, allocations: 0 / 1.433 GB, free: 11.13 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001985/1.295, allocations: 0.834 MB / 1.434 GB, free: 10.29 MB / 1.17 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.0005805/1.295, allocations: 259.1 kB / 1.434 GB, free: 10.04 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002126/1.297, allocations: 1.334 MB / 1.435 GB, free: 8.715 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.297, allocations: 4.875 kB / 1.435 GB, free: 8.711 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0004952/1.298, allocations: 355.2 kB / 1.436 GB, free: 8.359 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/1.301, allocations: 0.8374 MB / 1.436 GB, free: 7.535 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/1.306, allocations: 2.976 MB / 1.439 GB, free: 4.5 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009763/1.307, allocations: 1.344 MB / 1.441 GB, free: 3.129 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/1.308, allocations: 119.4 kB / 1.441 GB, free: 3.012 MB / 1.17 GB Notification: Performance of SimCode: time 9.32e-07/1.308, allocations: 0 / 1.441 GB, free: 3.012 MB / 1.17 GB Notification: Performance of Templates: time 0.03881/1.346, allocations: 25.23 MB / 1.465 GB, free: 9.961 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches