Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.42/2.42, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001057/0.001058, allocations: 172.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.0008924/0.0008923, allocations: 95.67 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.644e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3391, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.178/6.517, allocations: 1.902 GB / 3.121 GB, free: 413.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/6.517, allocations: 92.95 kB / 3.121 GB, free: 413.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 11.48/18, allocations: 2.837 GB / 5.957 GB, free: 118.3 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.054e-06/18, allocations: 0 / 5.957 GB, free: 118.3 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.000348/18, allocations: 66.89 kB / 5.958 GB, free: 118.3 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.01187/18.01, allocations: 3.494 MB / 5.961 GB, free: 117 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/18.01, allocations: 9.281 kB / 5.961 GB, free: 117 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/18.02, allocations: 1.2 MB / 5.962 GB, free: 116.8 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009308/18.03, allocations: 2.58 MB / 5.965 GB, free: 116.4 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001455/18.03, allocations: 433.1 kB / 5.965 GB, free: 116.4 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/18.03, allocations: 222.6 kB / 5.965 GB, free: 116.4 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00835/18.04, allocations: 2.833 MB / 5.968 GB, free: 116 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/18.04, allocations: 14.81 kB / 5.968 GB, free: 116 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008128/18.04, allocations: 90.06 kB / 5.968 GB, free: 116 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/18.04, allocations: 90.55 kB / 5.968 GB, free: 116 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006324/18.05, allocations: 2.651 MB / 5.971 GB, free: 116 MB / 1.26 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.02468/18.07, allocations: 14.06 MB / 5.985 GB, free: 108.6 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/18.07, allocations: 1.424 MB / 5.986 GB, free: 108.5 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000999/18.07, allocations: 0.6405 MB / 5.987 GB, free: 108.5 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/18.07, allocations: 327.1 kB / 5.987 GB, free: 108.2 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/18.07, allocations: 50.19 kB / 5.987 GB, free: 108.2 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002061/18.08, allocations: 216.1 kB / 5.987 GB, free: 108.2 MB / 1.26 GB Notification: Performance of pre-optimization done (n=110): time 1.067e-05/18.08, allocations: 1.812 kB / 5.987 GB, free: 108.2 MB / 1.26 GB Notification: Performance of matching and sorting (n=110): time 0.003326/18.08, allocations: 1.433 MB / 5.988 GB, free: 108 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/18.08, allocations: 69.28 kB / 5.989 GB, free: 107.9 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004368/18.08, allocations: 2.095 MB / 5.991 GB, free: 107.7 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.000415/18.09, allocations: 55.89 kB / 5.991 GB, free: 107.6 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/18.09, allocations: 1.271 MB / 5.992 GB, free: 107.2 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/18.09, allocations: 380.1 kB / 5.992 GB, free: 107 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/18.09, allocations: 34.41 kB / 5.992 GB, free: 107 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.000145/18.09, allocations: 374.4 kB / 5.993 GB, free: 106.7 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/18.09, allocations: 0.717 MB / 5.993 GB, free: 106.7 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/18.09, allocations: 1.38 MB / 5.995 GB, free: 105.9 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/18.09, allocations: 0.9432 MB / 5.996 GB, free: 105.8 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.272e-05/18.09, allocations: 3.406 kB / 5.996 GB, free: 105.8 MB / 1.26 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004543/18.1, allocations: 2.318 MB / 5.998 GB, free: 105.5 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001431/18.1, allocations: 5.778 MB / 6.004 GB, free: 99.44 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/18.1, allocations: 17.22 kB / 6.004 GB, free: 99.44 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.026e-05/18.1, allocations: 28.52 kB / 6.004 GB, free: 99.43 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/18.1, allocations: 0.5665 MB / 6.004 GB, free: 99.43 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/18.1, allocations: 2.389 MB / 6.006 GB, free: 97.1 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004708/18.11, allocations: 468.2 kB / 6.007 GB, free: 97.07 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003907/18.11, allocations: 92.05 kB / 6.007 GB, free: 97.07 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/18.11, allocations: 3.031 kB / 6.007 GB, free: 97.07 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003942/18.11, allocations: 2.083 MB / 6.009 GB, free: 96.97 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.625e-05/18.11, allocations: 15.28 kB / 6.009 GB, free: 96.97 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/18.11, allocations: 22.78 kB / 6.009 GB, free: 96.97 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/18.11, allocations: 0.5397 MB / 6.01 GB, free: 96.97 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.726e-05/18.11, allocations: 28.48 kB / 6.01 GB, free: 96.97 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004311/18.12, allocations: 400.1 kB / 6.01 GB, free: 96.94 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/18.12, allocations: 94.56 kB / 6.01 GB, free: 96.94 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 () * 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.0008512/18.12, allocations: 228.2 kB / 6.01 GB, free: 96.82 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/18.12, allocations: 258.3 kB / 6.011 GB, free: 96.69 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/18.13, allocations: 1.579 MB / 6.012 GB, free: 96.59 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/18.13, allocations: 9.438 kB / 6.012 GB, free: 96.59 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/18.13, allocations: 0 / 6.012 GB, free: 96.59 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/18.13, allocations: 15.36 kB / 6.012 GB, free: 96.58 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/18.14, allocations: 4.189 MB / 6.016 GB, free: 96.02 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/18.14, allocations: 6.562 kB / 6.016 GB, free: 96.02 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/18.14, allocations: 307.9 kB / 6.017 GB, free: 96.02 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.372e-05/18.14, allocations: 13.84 kB / 6.017 GB, free: 96.02 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/18.14, allocations: 30.78 kB / 6.017 GB, free: 96.02 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/18.14, allocations: 2.371 MB / 6.019 GB, free: 93.68 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/18.14, allocations: 13.19 kB / 6.019 GB, free: 93.68 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00349/18.14, allocations: 2.193 MB / 6.021 GB, free: 92.5 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002781/18.15, allocations: 0.5343 MB / 6.022 GB, free: 92.27 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001611/18.15, allocations: 35.91 kB / 6.022 GB, free: 92.27 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004542/18.15, allocations: 288 kB / 6.022 GB, free: 92.25 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/18.15, allocations: 82.83 kB / 6.022 GB, free: 92.24 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003235/18.15, allocations: 65.44 kB / 6.022 GB, free: 92.24 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.004309/18.16, allocations: 1.589 MB / 6.024 GB, free: 92.08 MB / 1.26 GB Notification: Performance of sort global known variables: time 1.81e-07/18.16, allocations: 0 / 6.024 GB, free: 92.08 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.009097/18.17, allocations: 1.937 MB / 6.025 GB, free: 91.95 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 () * 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.01217/18.18, allocations: 7.637 MB / 6.033 GB, free: 87.7 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.006182/18.18, allocations: 3.034 MB / 6.036 GB, free: 87.41 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/18.18, allocations: 2.969 kB / 6.036 GB, free: 87.41 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/18.19, allocations: 0.6694 MB / 6.037 GB, free: 87.39 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006901/18.19, allocations: 1.191 MB / 6.038 GB, free: 87.36 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/18.2, allocations: 3.218 MB / 6.041 GB, free: 86.35 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/18.2, allocations: 1.749 MB / 6.043 GB, free: 85.59 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.005067/18.2, allocations: 0.9734 MB / 6.043 GB, free: 85.57 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/18.21, allocations: 151.8 kB / 6.044 GB, free: 85.56 MB / 1.26 GB Notification: Performance of SimCode: time 1.322e-06/18.21, allocations: 0 / 6.044 GB, free: 85.56 MB / 1.26 GB Notification: Performance of Templates: time 0.1866/18.39, allocations: 129 MB / 6.17 GB, free: 64.49 MB / 1.26 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches