Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,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|cheTem1.y|cheEnt1.y|cheMas1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,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|cheTem1.y|cheEnt1.y|cheMas1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001136, allocations: 183 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 0.5775 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008825/0.0008823, allocations: 90.34 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 9.75 kB / 0.7962 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.211, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.276/4.487, allocations: 2.213 GB / 3.113 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/4.487, allocations: 99.95 kB / 3.113 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.372/13.86, allocations: 2.727 GB / 5.84 GB, free: 66.74 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.865e-06/13.86, allocations: 0 / 5.84 GB, free: 66.74 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004281/13.86, allocations: 73.09 kB / 5.84 GB, free: 66.73 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 0.01369/13.87, allocations: 3.88 MB / 5.843 GB, free: 64.67 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/13.87, allocations: 11.38 kB / 5.843 GB, free: 64.67 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/13.88, allocations: 1.206 MB / 5.845 GB, free: 64.45 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008577/13.89, allocations: 2.582 MB / 5.847 GB, free: 63.81 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001341/13.89, allocations: 435.3 kB / 5.848 GB, free: 63.78 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001072/13.89, allocations: 216.1 kB / 5.848 GB, free: 63.78 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008703/13.9, allocations: 3.15 MB / 5.851 GB, free: 63.31 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/13.9, allocations: 5.562 kB / 5.851 GB, free: 63.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007622/13.9, allocations: 105.6 kB / 5.851 GB, free: 63.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/13.9, allocations: 95 kB / 5.851 GB, free: 63.29 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008117/13.91, allocations: 3.225 MB / 5.854 GB, free: 63.19 MB / 0.9792 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.02428/13.94, allocations: 14.05 MB / 5.868 GB, free: 54.39 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003673/13.94, allocations: 1.726 MB / 5.87 GB, free: 53.79 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000511/13.94, allocations: 322.1 kB / 5.87 GB, free: 53.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/13.94, allocations: 57.02 kB / 5.87 GB, free: 53.45 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001781/13.94, allocations: 213.1 kB / 5.87 GB, free: 53.34 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 5.741e-06/13.94, allocations: 0 / 5.87 GB, free: 53.34 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.0054/13.95, allocations: 2.39 MB / 5.873 GB, free: 51.48 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/13.95, allocations: 64.41 kB / 5.873 GB, free: 51.41 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004483/13.95, allocations: 2.217 MB / 5.875 GB, free: 49.52 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002979/13.95, allocations: 61.7 kB / 5.875 GB, free: 49.45 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009274/13.95, allocations: 1.257 MB / 5.876 GB, free: 48.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/13.95, allocations: 385 kB / 5.876 GB, free: 47.95 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/13.95, allocations: 36 kB / 5.876 GB, free: 47.91 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001001/13.96, allocations: 373 kB / 5.877 GB, free: 47.56 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/13.96, allocations: 0.9874 MB / 5.878 GB, free: 46.69 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/13.96, allocations: 1.61 MB / 5.879 GB, free: 44.82 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/13.96, allocations: 1.198 MB / 5.88 GB, free: 43.61 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/13.96, allocations: 4 kB / 5.88 GB, free: 43.61 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006317/13.97, allocations: 2.879 MB / 5.883 GB, free: 40.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00116/13.97, allocations: 6.115 MB / 5.889 GB, free: 34 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/13.97, allocations: 15.95 kB / 5.889 GB, free: 33.99 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.437e-05/13.97, allocations: 31.94 kB / 5.889 GB, free: 33.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/13.97, allocations: 0.5733 MB / 5.89 GB, free: 33.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009463/13.97, allocations: 2.383 MB / 5.892 GB, free: 30.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/13.98, allocations: 471.2 kB / 5.893 GB, free: 30.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/13.98, allocations: 95.94 kB / 5.893 GB, free: 30.36 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/13.98, allocations: 4 kB / 5.893 GB, free: 30.35 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005269/13.98, allocations: 2.645 MB / 5.895 GB, free: 27.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/13.98, allocations: 16 kB / 5.895 GB, free: 27.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/13.98, allocations: 24 kB / 5.895 GB, free: 27.66 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/13.99, allocations: 0.5427 MB / 5.896 GB, free: 27.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.412e-05/13.99, allocations: 35.88 kB / 5.896 GB, free: 27.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/13.99, allocations: 399 kB / 5.896 GB, free: 26.69 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/13.99, allocations: 91.95 kB / 5.896 GB, free: 26.6 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001738/13.99, allocations: 0.6332 MB / 5.897 GB, free: 25.95 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007418/13.99, allocations: 256.8 kB / 5.897 GB, free: 25.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/14, allocations: 1.878 MB / 5.899 GB, free: 23.81 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/14, allocations: 15.95 kB / 5.899 GB, free: 23.79 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/14, allocations: 3.875 kB / 5.899 GB, free: 23.79 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/14, allocations: 3.984 kB / 5.899 GB, free: 23.79 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008988/14.01, allocations: 4.512 MB / 5.904 GB, free: 19.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/14.01, allocations: 4 kB / 5.904 GB, free: 19.13 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/14.01, allocations: 308.3 kB / 5.904 GB, free: 18.83 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.885e-05/14.01, allocations: 12 kB / 5.904 GB, free: 18.82 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.392e-05/14.01, allocations: 31.98 kB / 5.904 GB, free: 18.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006779/14.01, allocations: 2.364 MB / 5.906 GB, free: 16.33 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/14.01, allocations: 15.89 kB / 5.906 GB, free: 16.31 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/14.01, allocations: 2.495 MB / 5.909 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/14.01, allocations: 0.5523 MB / 5.909 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007525/14.01, allocations: 27.98 kB / 5.909 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/14.02, allocations: 291.4 kB / 5.909 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/14.02, allocations: 80.8 kB / 5.91 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/14.02, allocations: 63.95 kB / 5.91 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003299/14.02, allocations: 1.734 MB / 5.911 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.21e-07/14.02, allocations: 3.938 kB / 5.911 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006596/14.03, allocations: 1.939 MB / 5.913 GB, free: 8.801 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0103/14.04, allocations: 7.634 MB / 5.921 GB, free: 0.7539 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009857/14.05, allocations: 3.658 MB / 5.924 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/14.05, allocations: 5.938 kB / 5.924 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002168/14.05, allocations: 0.8111 MB / 5.925 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006341/14.06, allocations: 1.202 MB / 5.926 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008338/14.06, allocations: 4.938 MB / 5.931 GB, free: 6.016 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/14.07, allocations: 1.73 MB / 5.933 GB, free: 4.25 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003905/14.07, allocations: 0.7838 MB / 5.933 GB, free: 3.496 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/14.07, allocations: 191.4 kB / 5.934 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of SimCode: time 7.91e-07/14.07, allocations: 0 / 5.934 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of Templates: time 0.7753/14.85, allocations: 110.6 MB / 6.042 GB, free: 102.6 MB / 1.01 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches