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.548/1.548, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 164.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.001063/0.001063, allocations: 81.22 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.754e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2849, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.987/7.272, allocations: 2.213 GB / 3.098 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/7.272, allocations: 90.58 kB / 3.098 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.95/18.22, allocations: 2.694 GB / 5.792 GB, free: 88.56 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.933e-06/18.22, allocations: 2.297 kB / 5.792 GB, free: 88.56 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002603/18.22, allocations: 72.36 kB / 5.792 GB, free: 88.56 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.01257/18.23, allocations: 3.47 MB / 5.795 GB, free: 87.22 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/18.23, allocations: 10.06 kB / 5.795 GB, free: 87.22 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009872/18.24, allocations: 1.197 MB / 5.796 GB, free: 87.05 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007598/18.25, allocations: 2.558 MB / 5.799 GB, free: 86.68 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001298/18.25, allocations: 355.2 kB / 5.799 GB, free: 86.67 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008767/18.25, allocations: 136.7 kB / 5.799 GB, free: 86.67 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005055/18.26, allocations: 2.433 MB / 5.802 GB, free: 86.66 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004438/18.26, allocations: 2.387 MB / 5.804 GB, free: 86.25 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/18.26, allocations: 6.188 kB / 5.804 GB, free: 86.25 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/18.26, allocations: 6.547 kB / 5.804 GB, free: 86.25 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/18.26, allocations: 96.34 kB / 5.804 GB, free: 86.25 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.02167/18.29, allocations: 13.56 MB / 5.817 GB, free: 78.93 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/18.29, allocations: 1.488 MB / 5.819 GB, free: 78.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/18.29, allocations: 0.6066 MB / 5.82 GB, free: 78.7 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/18.29, allocations: 323.6 kB / 5.82 GB, free: 78.41 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/18.29, allocations: 53.3 kB / 5.82 GB, free: 78.37 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001545/18.29, allocations: 162.6 kB / 5.82 GB, free: 78.31 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 4.699e-06/18.29, allocations: 0 / 5.82 GB, free: 78.31 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.002536/18.29, allocations: 1.505 MB / 5.822 GB, free: 78.14 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/18.29, allocations: 63.34 kB / 5.822 GB, free: 78.08 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/18.3, allocations: 1.532 MB / 5.823 GB, free: 77.85 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/18.3, allocations: 28.7 kB / 5.823 GB, free: 77.82 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000726/18.3, allocations: 1.268 MB / 5.824 GB, free: 77.26 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/18.3, allocations: 370.8 kB / 5.825 GB, free: 77.02 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/18.3, allocations: 2 kB / 5.825 GB, free: 77.02 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001036/18.3, allocations: 382 kB / 5.825 GB, free: 76.71 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009248/18.3, allocations: 0.6711 MB / 5.826 GB, free: 76.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/18.3, allocations: 1.26 MB / 5.827 GB, free: 76 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/18.3, allocations: 1.145 MB / 5.828 GB, free: 75.98 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/18.3, allocations: 3.25 kB / 5.828 GB, free: 75.98 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004137/18.31, allocations: 2.361 MB / 5.83 GB, free: 75.82 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001288/18.31, allocations: 5.961 MB / 5.836 GB, free: 69.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/18.31, allocations: 14.03 kB / 5.836 GB, free: 69.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.917e-05/18.31, allocations: 25.56 kB / 5.836 GB, free: 69.59 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/18.31, allocations: 0.5657 MB / 5.837 GB, free: 69.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009376/18.31, allocations: 2.403 MB / 5.839 GB, free: 67.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003721/18.31, allocations: 387.5 kB / 5.839 GB, free: 67.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/18.31, allocations: 97.52 kB / 5.84 GB, free: 67.23 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/18.31, allocations: 4.438 kB / 5.84 GB, free: 67.23 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00376/18.32, allocations: 2.129 MB / 5.842 GB, free: 67.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.872e-05/18.32, allocations: 16.31 kB / 5.842 GB, free: 67.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.552e-05/18.32, allocations: 36.84 kB / 5.842 GB, free: 67.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/18.32, allocations: 0.5336 MB / 5.842 GB, free: 67.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-05/18.32, allocations: 29.92 kB / 5.842 GB, free: 67.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/18.32, allocations: 316.2 kB / 5.843 GB, free: 67.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/18.32, allocations: 96.56 kB / 5.843 GB, free: 67.18 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 () * 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.0007191/18.33, allocations: 161.5 kB / 5.843 GB, free: 67.07 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005962/18.33, allocations: 213.4 kB / 5.843 GB, free: 66.96 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/18.33, allocations: 1.622 MB / 5.845 GB, free: 66.85 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/18.33, allocations: 13.55 kB / 5.845 GB, free: 66.84 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/18.33, allocations: 0 / 5.845 GB, free: 66.84 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/18.33, allocations: 6.859 kB / 5.845 GB, free: 66.84 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008272/18.34, allocations: 3.922 MB / 5.848 GB, free: 66.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/18.34, allocations: 6.531 kB / 5.848 GB, free: 66.33 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/18.34, allocations: 317.7 kB / 5.849 GB, free: 66.33 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/18.34, allocations: 13.84 kB / 5.849 GB, free: 66.33 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/18.34, allocations: 13.58 kB / 5.849 GB, free: 66.33 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007322/18.34, allocations: 2.37 MB / 5.851 GB, free: 63.99 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/18.34, allocations: 8.906 kB / 5.851 GB, free: 63.99 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/18.34, allocations: 2.198 MB / 5.853 GB, free: 62.91 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/18.34, allocations: 0.4992 MB / 5.854 GB, free: 62.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/18.35, allocations: 8.531 kB / 5.854 GB, free: 62.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00238/18.35, allocations: 250.7 kB / 5.854 GB, free: 62.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/18.35, allocations: 82.66 kB / 5.854 GB, free: 62.69 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/18.35, allocations: 68.22 kB / 5.854 GB, free: 62.69 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001896/18.35, allocations: 1.127 MB / 5.855 GB, free: 62.54 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/18.35, allocations: 0 / 5.855 GB, free: 62.54 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005846/18.36, allocations: 1.738 MB / 5.857 GB, free: 62.36 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 () * 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.01494/18.37, allocations: 8.262 MB / 5.865 GB, free: 58.12 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005371/18.38, allocations: 2.83 MB / 5.868 GB, free: 57.84 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/18.38, allocations: 7.484 kB / 5.868 GB, free: 57.84 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001/18.38, allocations: 0.6231 MB / 5.868 GB, free: 57.84 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/18.38, allocations: 0.7295 MB / 5.869 GB, free: 57.82 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/18.39, allocations: 3.022 MB / 5.872 GB, free: 56.83 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/18.39, allocations: 1.733 MB / 5.874 GB, free: 56.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003931/18.39, allocations: 0.8102 MB / 5.875 GB, free: 56.08 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/18.39, allocations: 141.8 kB / 5.875 GB, free: 56.07 MB / 0.9792 GB Notification: Performance of SimCode: time 1.422e-06/18.39, allocations: 0 / 5.875 GB, free: 56.07 MB / 0.9792 GB Notification: Performance of Templates: time 0.1125/18.5, allocations: 69.14 MB / 5.942 GB, free: 50.06 MB / 0.9792 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