Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 249.5 MB / 257 MB, free: 6.859 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.001334/0.001334, allocations: 176.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.001039/0.001039, allocations: 96.59 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.084e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2296, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.42/6.649, allocations: 2.175 GB / 3.06 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/6.65, allocations: 91.7 kB / 3.06 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.07843/6.728, allocations: 39.91 MB / 3.099 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/6.728, allocations: 0 / 3.099 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.358e-05/6.728, allocations: 4 kB / 3.099 GB, free: 157.8 MB / 0.8698 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.0005632/6.729, allocations: 449.8 kB / 3.1 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/6.729, allocations: 8.031 kB / 3.1 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/6.729, allocations: 39.19 kB / 3.1 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/6.73, allocations: 208.5 kB / 3.1 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/6.73, allocations: 4 kB / 3.1 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/6.73, allocations: 8 kB / 3.1 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000143/6.73, allocations: 54.31 kB / 3.1 GB, free: 157 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/6.73, allocations: 94.7 kB / 3.1 GB, free: 157 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/6.73, allocations: 19.88 kB / 3.1 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/6.73, allocations: 0 / 3.1 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/6.73, allocations: 0 / 3.1 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/6.731, allocations: 418.4 kB / 3.101 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/6.731, allocations: 72.64 kB / 3.101 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/6.731, allocations: 24.28 kB / 3.101 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/6.731, allocations: 3.984 kB / 3.101 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/6.731, allocations: 38.56 kB / 3.101 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/6.731, allocations: 4 kB / 3.101 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.000213/6.731, allocations: 76.16 kB / 3.101 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/6.731, allocations: 51.41 kB / 3.101 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/6.731, allocations: 137.5 kB / 3.101 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/6.731, allocations: 29.7 kB / 3.101 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/6.731, allocations: 118.3 kB / 3.101 GB, free: 156 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/6.731, allocations: 23.64 kB / 3.101 GB, free: 156 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/6.731, allocations: 0 / 3.101 GB, free: 156 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.79e-05/6.731, allocations: 330.7 kB / 3.101 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/6.732, allocations: 18.44 kB / 3.101 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/6.732, allocations: 19.31 kB / 3.101 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/6.732, allocations: 15.31 kB / 3.101 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/6.732, allocations: 0 / 3.101 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001228/6.732, allocations: 88.23 kB / 3.102 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/6.732, allocations: 8 kB / 3.102 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/6.732, allocations: 0 / 3.102 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/6.732, allocations: 0 / 3.102 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/6.732, allocations: 23.98 kB / 3.102 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/6.732, allocations: 3.938 kB / 3.102 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.845e-05/6.732, allocations: 11.98 kB / 3.102 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/6.732, allocations: 3.984 kB / 3.102 GB, free: 155.5 MB / 0.8698 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 () * 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 6.772e-05/6.732, allocations: 108.9 kB / 3.102 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/6.732, allocations: 7.906 kB / 3.102 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/6.732, allocations: 92.83 kB / 3.102 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/6.732, allocations: 4 kB / 3.102 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/6.732, allocations: 3.984 kB / 3.102 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/6.732, allocations: 3.938 kB / 3.102 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/6.733, allocations: 196.5 kB / 3.102 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/6.733, allocations: 0 / 3.102 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/6.733, allocations: 27.73 kB / 3.102 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/6.733, allocations: 0 / 3.102 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/6.733, allocations: 0 / 3.102 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/6.733, allocations: 0 / 3.102 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/6.733, allocations: 3.938 kB / 3.102 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/6.733, allocations: 178.7 kB / 3.102 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/6.733, allocations: 85.02 kB / 3.102 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/6.733, allocations: 3.984 kB / 3.102 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/6.733, allocations: 4 kB / 3.102 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/6.733, allocations: 11.61 kB / 3.102 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/6.733, allocations: 0 / 3.102 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.31e-05/6.733, allocations: 117.5 kB / 3.102 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.733, allocations: 0 / 3.102 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003208/6.734, allocations: 54.08 kB / 3.102 GB, free: 154.6 MB / 0.8698 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 () * 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.0007673/6.734, allocations: 0.6433 MB / 3.103 GB, free: 154 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001378/6.735, allocations: 42.25 kB / 3.103 GB, free: 154 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/6.735, allocations: 4 kB / 3.103 GB, free: 154 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/6.735, allocations: 30.61 kB / 3.103 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/6.735, allocations: 31.69 kB / 3.103 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/6.735, allocations: 143.7 kB / 3.103 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/6.735, allocations: 0.7196 MB / 3.104 GB, free: 153 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.609e-05/6.736, allocations: 4.438 kB / 3.104 GB, free: 153 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/6.736, allocations: 11.44 kB / 3.104 GB, free: 153 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/6.736, allocations: 7.938 kB / 3.104 GB, free: 153 MB / 0.8698 GB Notification: Performance of Templates: time 0.007375/6.743, allocations: 4.372 MB / 3.108 GB, free: 148.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches