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.17/2.17, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001014/0.001014, allocations: 188.7 kB / 487.4 MB, free: 5.035 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.456/1.456, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009096/0.0009096, allocations: 99.78 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.174e-05/2.192e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2853, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.274/5.56, allocations: 1.9 GB / 3.106 GB, free: 356.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/5.56, allocations: 93.89 kB / 3.106 GB, free: 356.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 9.883/15.44, allocations: 2.806 GB / 5.913 GB, free: 117.4 MB / 1.245 GB Notification: Performance of FrontEnd: time 1.573e-06/15.44, allocations: 2.25 kB / 5.913 GB, free: 117.4 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.0004061/15.44, allocations: 71.42 kB / 5.913 GB, free: 117.4 MB / 1.245 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.01264/15.46, allocations: 3.494 MB / 5.916 GB, free: 116.1 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/15.46, allocations: 10.31 kB / 5.916 GB, free: 116.1 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009753/15.47, allocations: 1.196 MB / 5.918 GB, free: 115.9 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008868/15.48, allocations: 2.574 MB / 5.92 GB, free: 115.5 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001349/15.48, allocations: 360.3 kB / 5.92 GB, free: 115.5 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/15.48, allocations: 133.4 kB / 5.921 GB, free: 115.5 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006014/15.48, allocations: 2.432 MB / 5.923 GB, free: 115.5 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006892/15.49, allocations: 2.384 MB / 5.925 GB, free: 115.1 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-05/15.49, allocations: 3.75 kB / 5.925 GB, free: 115.1 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006368/15.49, allocations: 2.719 kB / 5.925 GB, free: 115.1 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/15.49, allocations: 89.75 kB / 5.925 GB, free: 115.1 MB / 1.245 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.02364/15.52, allocations: 13.59 MB / 5.939 GB, free: 107.7 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/15.52, allocations: 1.486 MB / 5.94 GB, free: 107.5 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008488/15.52, allocations: 0.6056 MB / 5.941 GB, free: 107.5 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/15.52, allocations: 329.2 kB / 5.941 GB, free: 107.2 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/15.52, allocations: 52.14 kB / 5.941 GB, free: 107.2 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001706/15.52, allocations: 159.7 kB / 5.941 GB, free: 107.2 MB / 1.245 GB Notification: Performance of pre-optimization done (n=110): time 6.923e-06/15.52, allocations: 0 / 5.941 GB, free: 107.2 MB / 1.245 GB Notification: Performance of matching and sorting (n=110): time 0.003194/15.52, allocations: 1.518 MB / 5.943 GB, free: 107 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/15.52, allocations: 62.75 kB / 5.943 GB, free: 106.9 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/15.53, allocations: 1.554 MB / 5.944 GB, free: 106.7 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0003335/15.53, allocations: 33.08 kB / 5.944 GB, free: 106.7 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/15.53, allocations: 1.292 MB / 5.946 GB, free: 106.2 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/15.53, allocations: 378.9 kB / 5.946 GB, free: 105.9 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/15.53, allocations: 0 / 5.946 GB, free: 105.9 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0001183/15.53, allocations: 371.8 kB / 5.946 GB, free: 105.6 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/15.53, allocations: 0.6717 MB / 5.947 GB, free: 105.6 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/15.53, allocations: 1.319 MB / 5.948 GB, free: 104.8 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/15.53, allocations: 1.162 MB / 5.949 GB, free: 104.8 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/15.53, allocations: 4.688 kB / 5.949 GB, free: 104.8 MB / 1.245 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004692/15.54, allocations: 2.367 MB / 5.952 GB, free: 104.7 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001252/15.54, allocations: 5.632 MB / 5.957 GB, free: 98.79 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/15.54, allocations: 17.91 kB / 5.957 GB, free: 98.79 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.705e-05/15.54, allocations: 26.39 kB / 5.957 GB, free: 98.79 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/15.54, allocations: 0.5657 MB / 5.958 GB, free: 98.79 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/15.54, allocations: 2.4 MB / 5.96 GB, free: 96.45 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003991/15.55, allocations: 383.7 kB / 5.96 GB, free: 96.43 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003875/15.55, allocations: 92.72 kB / 5.961 GB, free: 96.43 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/15.55, allocations: 3.531 kB / 5.961 GB, free: 96.43 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004344/15.55, allocations: 2.131 MB / 5.963 GB, free: 96.4 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.482e-05/15.55, allocations: 14.62 kB / 5.963 GB, free: 96.4 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/15.55, allocations: 24.47 kB / 5.963 GB, free: 96.4 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/15.56, allocations: 0.537 MB / 5.963 GB, free: 96.4 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.662e-05/15.56, allocations: 31.73 kB / 5.963 GB, free: 96.4 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/15.56, allocations: 317 kB / 5.964 GB, free: 96.39 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/15.56, allocations: 91.44 kB / 5.964 GB, free: 96.39 MB / 1.245 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 () * 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.0006398/15.56, allocations: 165.8 kB / 5.964 GB, free: 96.27 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007608/15.56, allocations: 223.1 kB / 5.964 GB, free: 96.16 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/15.56, allocations: 1.622 MB / 5.966 GB, free: 96.04 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/15.56, allocations: 14.25 kB / 5.966 GB, free: 96.04 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/15.56, allocations: 0 / 5.966 GB, free: 96.04 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/15.56, allocations: 5.625 kB / 5.966 GB, free: 96.04 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008321/15.57, allocations: 3.917 MB / 5.969 GB, free: 95.53 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/15.57, allocations: 2.562 kB / 5.969 GB, free: 95.53 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/15.57, allocations: 308.7 kB / 5.97 GB, free: 95.53 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.488e-05/15.57, allocations: 9.625 kB / 5.97 GB, free: 95.53 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.804e-05/15.57, allocations: 22.12 kB / 5.97 GB, free: 95.52 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009161/15.58, allocations: 2.369 MB / 5.972 GB, free: 93.19 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/15.58, allocations: 15.59 kB / 5.972 GB, free: 93.18 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003323/15.58, allocations: 2.204 MB / 5.974 GB, free: 92.11 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/15.58, allocations: 0.5012 MB / 5.975 GB, free: 91.89 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008692/15.58, allocations: 6.25 kB / 5.975 GB, free: 91.89 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002881/15.58, allocations: 245.2 kB / 5.975 GB, free: 91.88 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/15.58, allocations: 79.97 kB / 5.975 GB, free: 91.88 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/15.58, allocations: 67.86 kB / 5.975 GB, free: 91.88 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.002604/15.59, allocations: 1.147 MB / 5.976 GB, free: 91.73 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.6e-07/15.59, allocations: 0.6562 kB / 5.976 GB, free: 91.73 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.007793/15.59, allocations: 1.723 MB / 5.978 GB, free: 91.56 MB / 1.245 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.01429/15.61, allocations: 8.267 MB / 5.986 GB, free: 87.27 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.007179/15.62, allocations: 2.843 MB / 5.989 GB, free: 86.99 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/15.62, allocations: 6.094 kB / 5.989 GB, free: 86.99 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/15.62, allocations: 0.6245 MB / 5.989 GB, free: 86.99 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005043/15.62, allocations: 0.7315 MB / 5.99 GB, free: 86.96 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/15.63, allocations: 3.092 MB / 5.993 GB, free: 85.95 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/15.63, allocations: 1.753 MB / 5.995 GB, free: 85.2 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.004546/15.64, allocations: 0.8246 MB / 5.996 GB, free: 85.18 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/15.64, allocations: 136.8 kB / 5.996 GB, free: 85.17 MB / 1.245 GB Notification: Performance of SimCode: time 1.203e-06/15.64, allocations: 3.375 kB / 5.996 GB, free: 85.17 MB / 1.245 GB Notification: Performance of Templates: time 0.1052/15.74, allocations: 69.69 MB / 6.064 GB, free: 79.84 MB / 1.245 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