Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 174.1 kB / 498.1 MB, free: 5.707 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 103.3 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003887, allocations: 10.28 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3181, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.263/4.582, allocations: 1.901 GB / 3.124 GB, free: 85.27 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004497/4.582, allocations: 103.6 kB / 3.124 GB, free: 85.22 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 11.27/15.85, allocations: 2.839 GB / 5.963 GB, free: 132.6 MB / 1.26 GB Notification: Performance of FrontEnd: time 3.547e-06/15.85, allocations: 0 / 5.963 GB, free: 132.6 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.0003186/15.85, allocations: 71.8 kB / 5.963 GB, free: 132.6 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01524/15.87, allocations: 3.913 MB / 5.967 GB, free: 131.6 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/15.87, allocations: 9.938 kB / 5.967 GB, free: 131.6 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/15.88, allocations: 1.202 MB / 5.968 GB, free: 131.4 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009258/15.89, allocations: 2.583 MB / 5.971 GB, free: 131 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001348/15.89, allocations: 438.8 kB / 5.971 GB, free: 131 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/15.89, allocations: 225.9 kB / 5.971 GB, free: 131 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006964/15.9, allocations: 3.119 MB / 5.974 GB, free: 130.6 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.154e-05/15.9, allocations: 2.906 kB / 5.974 GB, free: 130.6 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/15.9, allocations: 99.7 kB / 5.974 GB, free: 130.6 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/15.9, allocations: 92.73 kB / 5.974 GB, free: 130.6 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007274/15.91, allocations: 3.225 MB / 5.978 GB, free: 130.6 MB / 1.26 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.02384/15.93, allocations: 14.08 MB / 5.991 GB, free: 123.2 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/15.93, allocations: 1.716 MB / 5.993 GB, free: 123.2 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005969/15.94, allocations: 329.5 kB / 5.993 GB, free: 122.9 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/15.94, allocations: 49.56 kB / 5.993 GB, free: 122.8 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0025/15.94, allocations: 212.2 kB / 5.994 GB, free: 122.8 MB / 1.26 GB Notification: Performance of pre-optimization done (n=110): time 8.967e-06/15.94, allocations: 0 / 5.994 GB, free: 122.8 MB / 1.26 GB Notification: Performance of matching and sorting (n=110): time 0.006069/15.94, allocations: 2.396 MB / 5.996 GB, free: 122.6 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/15.94, allocations: 63.25 kB / 5.996 GB, free: 122.6 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004199/15.95, allocations: 2.245 MB / 5.998 GB, free: 122.3 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0004051/15.95, allocations: 55.58 kB / 5.998 GB, free: 122.3 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/15.95, allocations: 1.274 MB / 6 GB, free: 121.9 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004243/15.95, allocations: 394.5 kB / 6 GB, free: 121.7 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/15.95, allocations: 34.72 kB / 6 GB, free: 121.7 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.000141/15.95, allocations: 371.4 kB / 6 GB, free: 121.4 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/15.95, allocations: 0.9944 MB / 6.001 GB, free: 121.4 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/15.96, allocations: 1.672 MB / 6.003 GB, free: 120.7 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/15.96, allocations: 1.206 MB / 6.004 GB, free: 120.6 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/15.96, allocations: 6.094 kB / 6.004 GB, free: 120.6 MB / 1.26 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006495/15.96, allocations: 2.887 MB / 6.007 GB, free: 120.3 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001551/15.97, allocations: 5.777 MB / 6.013 GB, free: 114.2 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/15.97, allocations: 13 kB / 6.013 GB, free: 114.2 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-05/15.97, allocations: 24.72 kB / 6.013 GB, free: 114.2 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/15.97, allocations: 0.5645 MB / 6.013 GB, free: 114.2 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/15.97, allocations: 2.394 MB / 6.015 GB, free: 111.9 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004484/15.97, allocations: 473.3 kB / 6.016 GB, free: 111.9 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/15.97, allocations: 93.78 kB / 6.016 GB, free: 111.9 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/15.97, allocations: 3.688 kB / 6.016 GB, free: 111.9 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005496/15.98, allocations: 2.641 MB / 6.019 GB, free: 111.8 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/15.98, allocations: 18.86 kB / 6.019 GB, free: 111.8 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/15.98, allocations: 22.25 kB / 6.019 GB, free: 111.8 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/15.98, allocations: 0.5423 MB / 6.019 GB, free: 111.8 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.96e-05/15.98, allocations: 32.2 kB / 6.019 GB, free: 111.8 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003932/15.99, allocations: 399.2 kB / 6.02 GB, free: 111.8 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/15.99, allocations: 91.59 kB / 6.02 GB, free: 111.8 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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.001834/15.99, allocations: 0.6276 MB / 6.02 GB, free: 111.6 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007361/15.99, allocations: 263.5 kB / 6.021 GB, free: 111.4 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/15.99, allocations: 1.872 MB / 6.022 GB, free: 111.3 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/15.99, allocations: 8.5 kB / 6.022 GB, free: 111.3 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/15.99, allocations: 1.719 kB / 6.022 GB, free: 111.3 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/15.99, allocations: 7.844 kB / 6.022 GB, free: 111.3 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009621/16, allocations: 4.493 MB / 6.027 GB, free: 110.8 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/16, allocations: 8.094 kB / 6.027 GB, free: 110.8 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/16, allocations: 312.1 kB / 6.027 GB, free: 110.8 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/16, allocations: 10.94 kB / 6.027 GB, free: 110.8 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.984e-05/16.01, allocations: 31.84 kB / 6.027 GB, free: 110.8 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007629/16.01, allocations: 2.367 MB / 6.029 GB, free: 108.4 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/16.01, allocations: 21.03 kB / 6.029 GB, free: 108.4 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004398/16.01, allocations: 2.493 MB / 6.032 GB, free: 107.2 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/16.01, allocations: 0.5461 MB / 6.032 GB, free: 107 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005862/16.01, allocations: 26.19 kB / 6.032 GB, free: 107 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/16.02, allocations: 283 kB / 6.033 GB, free: 107 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/16.02, allocations: 78.59 kB / 6.033 GB, free: 107 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/16.02, allocations: 65.64 kB / 6.033 GB, free: 107 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.003833/16.02, allocations: 1.751 MB / 6.035 GB, free: 106.9 MB / 1.26 GB Notification: Performance of sort global known variables: time 2.5e-07/16.02, allocations: 0 / 6.035 GB, free: 106.9 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01313/16.03, allocations: 1.935 MB / 6.036 GB, free: 106.8 MB / 1.26 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.01316/16.05, allocations: 7.638 MB / 6.044 GB, free: 102.6 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01012/16.06, allocations: 3.667 MB / 6.047 GB, free: 102.4 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-05/16.06, allocations: 0 / 6.047 GB, free: 102.4 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/16.06, allocations: 0.816 MB / 6.048 GB, free: 102.3 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007992/16.07, allocations: 1.202 MB / 6.049 GB, free: 102.3 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/16.08, allocations: 5.008 MB / 6.054 GB, free: 100 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/16.08, allocations: 1.741 MB / 6.056 GB, free: 99.26 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.004577/16.08, allocations: 0.7915 MB / 6.057 GB, free: 99.23 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006995/16.09, allocations: 195.6 kB / 6.057 GB, free: 99.23 MB / 1.26 GB Notification: Performance of SimCode: time 2.745e-06/16.09, allocations: 0 / 6.057 GB, free: 99.23 MB / 1.26 GB Notification: Performance of Templates: time 0.1614/16.25, allocations: 110.8 MB / 6.165 GB, free: 93.95 MB / 1.26 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches