Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.412/2.412, 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.001156/0.001156, allocations: 177.2 kB / 498.1 MB, free: 5.691 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.661/1.661, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.000986/0.0009861, allocations: 104.8 kB / 0.9346 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 18.41 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3761, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.804/5.18, allocations: 1.711 GB / 2.934 GB, free: 272.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/5.18, allocations: 88.7 kB / 2.934 GB, free: 272.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.07344/5.254, allocations: 40.43 MB / 2.974 GB, free: 231.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.633e-06/5.254, allocations: 4 kB / 2.974 GB, free: 231.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.25e-05/5.254, allocations: 4 kB / 2.974 GB, free: 231.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005916/5.255, allocations: 471.5 kB / 2.974 GB, free: 231.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/5.255, allocations: 8.031 kB / 2.974 GB, free: 231.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/5.255, allocations: 31.83 kB / 2.974 GB, free: 231.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/5.255, allocations: 216.3 kB / 2.974 GB, free: 231 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/5.255, allocations: 12 kB / 2.974 GB, free: 231 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/5.255, allocations: 8 kB / 2.974 GB, free: 231 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/5.255, allocations: 117.6 kB / 2.974 GB, free: 230.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/5.255, allocations: 0 / 2.974 GB, free: 230.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/5.255, allocations: 8 kB / 2.974 GB, free: 230.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/5.255, allocations: 0 / 2.974 GB, free: 230.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/5.256, allocations: 111.8 kB / 2.974 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/5.256, allocations: 460.1 kB / 2.975 GB, free: 230.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/5.257, allocations: 94.53 kB / 2.975 GB, free: 230.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/5.257, allocations: 4.062 kB / 2.975 GB, free: 230.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/5.257, allocations: 38.5 kB / 2.975 GB, free: 230.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/5.257, allocations: 0 / 2.975 GB, free: 230.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=7): time 0.0004188/5.257, allocations: 157.5 kB / 2.975 GB, free: 229.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/5.257, allocations: 51.41 kB / 2.975 GB, free: 229.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/5.257, allocations: 171 kB / 2.975 GB, free: 229.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/5.257, allocations: 29.7 kB / 2.975 GB, free: 229.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/5.257, allocations: 115.9 kB / 2.976 GB, free: 229.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/5.257, allocations: 27.64 kB / 2.976 GB, free: 229.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/5.257, allocations: 0 / 2.976 GB, free: 229.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.633e-05/5.257, allocations: 330.8 kB / 2.976 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/5.258, allocations: 31.98 kB / 2.976 GB, free: 229.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-05/5.258, allocations: 39.97 kB / 2.976 GB, free: 229.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/5.258, allocations: 44.08 kB / 2.976 GB, free: 229 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/5.258, allocations: 0 / 2.976 GB, free: 229 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000233/5.258, allocations: 129.5 kB / 2.976 GB, free: 228.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/5.258, allocations: 4 kB / 2.976 GB, free: 228.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/5.258, allocations: 0 / 2.976 GB, free: 228.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/5.258, allocations: 4 kB / 2.976 GB, free: 228.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/5.258, allocations: 19.98 kB / 2.976 GB, free: 228.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/5.258, allocations: 7.938 kB / 2.976 GB, free: 228.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.821e-05/5.258, allocations: 11.91 kB / 2.976 GB, free: 228.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/5.258, allocations: 4 kB / 2.976 GB, free: 228.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/5.258, allocations: 129.5 kB / 2.976 GB, free: 228.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/5.258, allocations: 19.89 kB / 2.976 GB, free: 228.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/5.259, allocations: 131.6 kB / 2.976 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/5.259, allocations: 0 / 2.976 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/5.259, allocations: 0 / 2.976 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/5.259, allocations: 3.953 kB / 2.976 GB, free: 228.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/5.259, allocations: 237.4 kB / 2.977 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/5.259, allocations: 0 / 2.977 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/5.259, allocations: 19.98 kB / 2.977 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/5.259, allocations: 0 / 2.977 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/5.259, allocations: 4 kB / 2.977 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/5.259, allocations: 3.938 kB / 2.977 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/5.259, allocations: 80 / 2.977 GB, free: 228.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/5.259, allocations: 219.4 kB / 2.977 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/5.259, allocations: 96.91 kB / 2.977 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/5.259, allocations: 0 / 2.977 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/5.26, allocations: 11.94 kB / 2.977 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/5.26, allocations: 11.98 kB / 2.977 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/5.26, allocations: 0 / 2.977 GB, free: 227.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 7.987e-05/5.26, allocations: 131.2 kB / 2.977 GB, free: 227.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/5.26, allocations: 0 / 2.977 GB, free: 227.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003456/5.26, allocations: 55.98 kB / 2.977 GB, free: 227.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006433/5.261, allocations: 0.5614 MB / 2.978 GB, free: 227.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002725/5.261, allocations: 83.95 kB / 2.978 GB, free: 227.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/5.261, allocations: 0 / 2.978 GB, free: 227.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/5.261, allocations: 47.91 kB / 2.978 GB, free: 227 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/5.261, allocations: 31.97 kB / 2.978 GB, free: 227 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/5.262, allocations: 309.4 kB / 2.978 GB, free: 226.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/5.262, allocations: 0.7121 MB / 2.979 GB, free: 225.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 7.836e-05/5.262, allocations: 12.89 kB / 2.979 GB, free: 225.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/5.262, allocations: 15.42 kB / 2.979 GB, free: 225.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.3e-07/5.262, allocations: 0 / 2.979 GB, free: 225.9 MB / 1.167 GB Notification: Performance of Templates: time 0.01072/5.273, allocations: 8.546 MB / 2.987 GB, free: 217.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches