Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.398/2.398, allocations: 390.5 MB / 398 MB, free: 10.89 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.00168/0.00168, allocations: 179.5 kB / 491.2 MB, free: 1.559 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.696/1.696, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001037/0.001037, allocations: 105.2 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.208e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3415, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.947/5.289, allocations: 1.711 GB / 2.923 GB, free: 126 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/5.289, allocations: 83.55 kB / 2.924 GB, free: 126 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.07521/5.364, allocations: 39.71 MB / 2.962 GB, free: 93.44 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.994e-06/5.364, allocations: 0 / 2.962 GB, free: 93.44 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.174e-05/5.364, allocations: 4 kB / 2.962 GB, free: 93.43 MB / 1.151 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.0005384/5.365, allocations: 451.9 kB / 2.963 GB, free: 92.96 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/5.365, allocations: 12.03 kB / 2.963 GB, free: 92.95 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/5.365, allocations: 37.91 kB / 2.963 GB, free: 92.91 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/5.365, allocations: 199.8 kB / 2.963 GB, free: 92.69 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/5.365, allocations: 7.984 kB / 2.963 GB, free: 92.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/5.365, allocations: 7.984 kB / 2.963 GB, free: 92.67 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001436/5.366, allocations: 62.81 kB / 2.963 GB, free: 92.63 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/5.366, allocations: 95.75 kB / 2.963 GB, free: 92.55 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/5.366, allocations: 0 / 2.963 GB, free: 92.55 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/5.366, allocations: 0 / 2.963 GB, free: 92.55 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/5.366, allocations: 4 kB / 2.963 GB, free: 92.55 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/5.366, allocations: 416.5 kB / 2.964 GB, free: 92.16 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/5.366, allocations: 79.23 kB / 2.964 GB, free: 92.09 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/5.366, allocations: 26.42 kB / 2.964 GB, free: 92.07 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/5.367, allocations: 4 kB / 2.964 GB, free: 92.07 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/5.367, allocations: 38.5 kB / 2.964 GB, free: 92.02 MB / 1.151 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/5.367, allocations: 0 / 2.964 GB, free: 92.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=7): time 0.0002107/5.367, allocations: 81.78 kB / 2.964 GB, free: 91.95 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/5.367, allocations: 51.41 kB / 2.964 GB, free: 91.89 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/5.367, allocations: 133.8 kB / 2.964 GB, free: 91.77 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/5.367, allocations: 25.7 kB / 2.964 GB, free: 91.73 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/5.367, allocations: 117.5 kB / 2.964 GB, free: 91.62 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/5.367, allocations: 24.91 kB / 2.964 GB, free: 91.61 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/5.367, allocations: 0 / 2.964 GB, free: 91.61 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/5.367, allocations: 325.3 kB / 2.964 GB, free: 91.28 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/5.367, allocations: 15.97 kB / 2.964 GB, free: 91.27 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/5.367, allocations: 29.3 kB / 2.964 GB, free: 91.25 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/5.367, allocations: 23.42 kB / 2.965 GB, free: 91.24 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/5.367, allocations: 0 / 2.965 GB, free: 91.24 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001101/5.367, allocations: 82.97 kB / 2.965 GB, free: 91.17 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/5.367, allocations: 4 kB / 2.965 GB, free: 91.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/5.367, allocations: 0 / 2.965 GB, free: 91.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/5.367, allocations: 0 / 2.965 GB, free: 91.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/5.368, allocations: 23.98 kB / 2.965 GB, free: 91.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/5.368, allocations: 0 / 2.965 GB, free: 91.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/5.368, allocations: 11.95 kB / 2.965 GB, free: 91.13 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/5.368, allocations: 4 kB / 2.965 GB, free: 91.12 MB / 1.151 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.32e-05/5.368, allocations: 115.2 kB / 2.965 GB, free: 91.01 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/5.368, allocations: 11.81 kB / 2.965 GB, free: 91 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/5.368, allocations: 87.3 kB / 2.965 GB, free: 90.93 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/5.368, allocations: 4 kB / 2.965 GB, free: 90.92 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/5.368, allocations: 0 / 2.965 GB, free: 90.92 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/5.368, allocations: 4 kB / 2.965 GB, free: 90.92 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/5.368, allocations: 189.6 kB / 2.965 GB, free: 90.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/5.368, allocations: 0 / 2.965 GB, free: 90.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/5.368, allocations: 22.17 kB / 2.965 GB, free: 90.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/5.368, allocations: 0 / 2.965 GB, free: 90.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/5.368, allocations: 0 / 2.965 GB, free: 90.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/5.368, allocations: 0 / 2.965 GB, free: 90.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/5.368, allocations: 0 / 2.965 GB, free: 90.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/5.368, allocations: 192.9 kB / 2.965 GB, free: 90.51 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/5.368, allocations: 85.02 kB / 2.965 GB, free: 90.41 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/5.369, allocations: 0 / 2.965 GB, free: 90.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/5.369, allocations: 19.97 kB / 2.965 GB, free: 90.39 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/5.369, allocations: 3.938 kB / 2.965 GB, free: 90.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/5.369, allocations: 6 kB / 2.965 GB, free: 90.38 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.2e-05/5.369, allocations: 113.1 kB / 2.965 GB, free: 90.28 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.369, allocations: 0 / 2.965 GB, free: 90.28 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003191/5.369, allocations: 55.08 kB / 2.965 GB, free: 90.25 MB / 1.151 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.0006828/5.37, allocations: 0.6456 MB / 2.966 GB, free: 89.61 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001354/5.37, allocations: 47.31 kB / 2.966 GB, free: 89.58 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/5.37, allocations: 0 / 2.966 GB, free: 89.58 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/5.37, allocations: 23.5 kB / 2.966 GB, free: 89.56 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/5.37, allocations: 34.67 kB / 2.966 GB, free: 89.54 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/5.371, allocations: 143.8 kB / 2.966 GB, free: 89.38 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/5.371, allocations: 0.7119 MB / 2.967 GB, free: 88.64 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 6.969e-05/5.371, allocations: 24.33 kB / 2.967 GB, free: 88.62 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/5.371, allocations: 11.44 kB / 2.967 GB, free: 88.61 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/5.371, allocations: 0 / 2.967 GB, free: 88.61 MB / 1.151 GB Notification: Performance of Templates: time 0.007053/5.378, allocations: 4.386 MB / 2.971 GB, free: 84.24 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches