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.595/1.595, allocations: 249.3 MB / 261.8 MB, free: 5.805 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.002097/0.002097, allocations: 174.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.1 MB / 0.572 GB, free: 10.7 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.001001/0.001001, allocations: 92.92 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.342e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2296, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.848/7.078, allocations: 2.213 GB / 3.105 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/7.078, allocations: 87.95 kB / 3.105 GB, free: 156 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.36/18.43, allocations: 2.724 GB / 5.829 GB, free: 79.69 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.335e-06/18.43, allocations: 3.156 kB / 5.829 GB, free: 79.69 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004861/18.43, allocations: 68.61 kB / 5.829 GB, free: 79.68 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.01501/18.45, allocations: 3.47 MB / 5.832 GB, free: 78.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/18.45, allocations: 9.562 kB / 5.832 GB, free: 78.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/18.46, allocations: 1.195 MB / 5.833 GB, free: 78.13 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008801/18.47, allocations: 2.576 MB / 5.836 GB, free: 77.65 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001399/18.47, allocations: 435.8 kB / 5.836 GB, free: 77.64 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/18.47, allocations: 225.9 kB / 5.836 GB, free: 77.64 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00547/18.48, allocations: 2.852 MB / 5.839 GB, free: 77.22 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/18.48, allocations: 7.781 kB / 5.839 GB, free: 77.22 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003693/18.48, allocations: 93.64 kB / 5.839 GB, free: 77.22 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.713e-05/18.48, allocations: 92.25 kB / 5.839 GB, free: 77.21 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004495/18.48, allocations: 2.647 MB / 5.842 GB, free: 77.18 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.02443/18.51, allocations: 14.05 MB / 5.856 GB, free: 69.68 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/18.51, allocations: 1.421 MB / 5.857 GB, free: 69.64 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009443/18.51, allocations: 0.6373 MB / 5.858 GB, free: 69.63 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/18.51, allocations: 329 kB / 5.858 GB, free: 69.35 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/18.51, allocations: 53.53 kB / 5.858 GB, free: 69.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002161/18.51, allocations: 215.6 kB / 5.858 GB, free: 69.23 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 5.64e-06/18.51, allocations: 0 / 5.858 GB, free: 69.23 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.002917/18.52, allocations: 1.432 MB / 5.86 GB, free: 69.04 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/18.52, allocations: 63.38 kB / 5.86 GB, free: 68.98 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/18.52, allocations: 2.075 MB / 5.862 GB, free: 68.73 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003397/18.52, allocations: 53.42 kB / 5.862 GB, free: 68.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000992/18.52, allocations: 1.247 MB / 5.863 GB, free: 68.23 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003678/18.52, allocations: 392.5 kB / 5.863 GB, free: 68 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/18.52, allocations: 32.19 kB / 5.863 GB, free: 68 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000132/18.52, allocations: 374.2 kB / 5.864 GB, free: 67.69 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/18.52, allocations: 0.7112 MB / 5.865 GB, free: 67.69 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/18.52, allocations: 1.31 MB / 5.866 GB, free: 66.98 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/18.53, allocations: 0.9342 MB / 5.867 GB, free: 66.89 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/18.53, allocations: 5.688 kB / 5.867 GB, free: 66.89 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004913/18.53, allocations: 2.319 MB / 5.869 GB, free: 66.64 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002322/18.53, allocations: 6.115 MB / 5.875 GB, free: 60.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.796e-05/18.53, allocations: 17.03 kB / 5.875 GB, free: 60.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.511e-05/18.53, allocations: 22.5 kB / 5.875 GB, free: 60.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/18.54, allocations: 0.5675 MB / 5.876 GB, free: 60.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/18.54, allocations: 2.397 MB / 5.878 GB, free: 57.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005222/18.54, allocations: 472.5 kB / 5.878 GB, free: 57.78 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/18.54, allocations: 96.02 kB / 5.878 GB, free: 57.78 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/18.54, allocations: 6.156 kB / 5.878 GB, free: 57.78 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003666/18.55, allocations: 2.08 MB / 5.88 GB, free: 57.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/18.55, allocations: 14.34 kB / 5.88 GB, free: 57.69 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/18.55, allocations: 25.22 kB / 5.88 GB, free: 57.69 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/18.55, allocations: 0.5368 MB / 5.881 GB, free: 57.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-05/18.55, allocations: 32.3 kB / 5.881 GB, free: 57.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003924/18.55, allocations: 404.2 kB / 5.881 GB, free: 57.66 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/18.55, allocations: 90.09 kB / 5.882 GB, free: 57.66 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.0006727/18.55, allocations: 218.3 kB / 5.882 GB, free: 57.54 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000704/18.55, allocations: 257.6 kB / 5.882 GB, free: 57.41 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/18.56, allocations: 1.571 MB / 5.883 GB, free: 57.31 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/18.56, allocations: 15.06 kB / 5.884 GB, free: 57.31 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/18.56, allocations: 0 / 5.884 GB, free: 57.31 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/18.56, allocations: 5.109 kB / 5.884 GB, free: 57.31 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007887/18.57, allocations: 4.212 MB / 5.888 GB, free: 56.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/18.57, allocations: 4.5 kB / 5.888 GB, free: 56.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/18.57, allocations: 315.9 kB / 5.888 GB, free: 56.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/18.57, allocations: 11.28 kB / 5.888 GB, free: 56.73 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.266e-05/18.57, allocations: 37.7 kB / 5.888 GB, free: 56.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008183/18.57, allocations: 2.37 MB / 5.89 GB, free: 54.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/18.57, allocations: 6 kB / 5.89 GB, free: 54.39 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/18.57, allocations: 2.19 MB / 5.892 GB, free: 53.21 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/18.57, allocations: 0.5588 MB / 5.893 GB, free: 52.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/18.57, allocations: 23.84 kB / 5.893 GB, free: 52.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002541/18.58, allocations: 289.2 kB / 5.893 GB, free: 52.97 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/18.58, allocations: 83.05 kB / 5.893 GB, free: 52.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/18.58, allocations: 65.98 kB / 5.893 GB, free: 52.96 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002519/18.58, allocations: 1.579 MB / 5.895 GB, free: 52.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.2e-07/18.58, allocations: 0 / 5.895 GB, free: 52.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007725/18.59, allocations: 1.931 MB / 5.897 GB, free: 52.67 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.01211/18.6, allocations: 7.631 MB / 5.904 GB, free: 48.41 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005967/18.61, allocations: 3.034 MB / 5.907 GB, free: 48.12 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/18.61, allocations: 3.875 kB / 5.907 GB, free: 48.12 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/18.61, allocations: 0.6621 MB / 5.908 GB, free: 48.12 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007188/18.61, allocations: 1.204 MB / 5.909 GB, free: 48.07 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/18.62, allocations: 3.166 MB / 5.912 GB, free: 47.07 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/18.62, allocations: 1.736 MB / 5.914 GB, free: 46.33 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005574/18.63, allocations: 0.9741 MB / 5.915 GB, free: 46.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/18.63, allocations: 148.6 kB / 5.915 GB, free: 46.3 MB / 0.9792 GB Notification: Performance of SimCode: time 1.813e-06/18.63, allocations: 0 / 5.915 GB, free: 46.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.1763/18.8, allocations: 128.7 MB / 6.041 GB, free: 0.668 MB / 0.9948 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