Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009488/0.0009488, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009181/0.0009181, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9467/0.9467, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.953/1.953, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.914e-05, allocations: 6.172 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1287/0.1287, allocations: 144.3 MB / 0.901 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.13, allocations: 1.176 MB / 0.9021 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.1301, allocations: 8 kB / 0.9022 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.1304, allocations: 39.7 kB / 0.9022 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005837/0.131, allocations: 318.3 kB / 0.9025 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1313, allocations: 167.2 kB / 0.9027 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.1316, allocations: 227.2 kB / 0.9029 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.1317, allocations: 41.86 kB / 0.9029 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1318, allocations: 115.8 kB / 0.903 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.935e-05/0.1319, allocations: 39.84 kB / 0.9031 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1319, allocations: 16 kB / 0.9031 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.1323, allocations: 131.8 kB / 0.9032 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.1324, allocations: 35.89 kB / 0.9032 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.1324, allocations: 35.92 kB / 0.9033 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.1327, allocations: 215.2 kB / 0.9035 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1327, allocations: 0 / 0.9035 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1327, allocations: 0 / 0.9035 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.1327, allocations: 0 / 0.9035 GB, free: 3.418 MB / 0.8542 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.0003523/0.133, allocations: 364 kB / 0.9038 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.133, allocations: 8.031 kB / 0.9038 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/0.1333, allocations: 60.8 kB / 0.9039 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.1334, allocations: 145.5 kB / 0.904 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1335, allocations: 4.375 kB / 0.904 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1335, allocations: 12.36 kB / 0.904 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1336, allocations: 102.2 kB / 0.9041 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.1336, allocations: 4 kB / 0.9041 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.1336, allocations: 0 / 0.9041 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1336, allocations: 4 kB / 0.9041 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.325e-05/0.1336, allocations: 31.92 kB / 0.9042 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.134, allocations: 263.9 kB / 0.9044 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.186e-05/0.134, allocations: 38.56 kB / 0.9045 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.1341, allocations: 12.86 kB / 0.9045 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.1341, allocations: 0 / 0.9045 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1341, allocations: 42.55 kB / 0.9045 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 7.21e-07/0.1341, allocations: 0 / 0.9045 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001134/0.1342, allocations: 69.55 kB / 0.9046 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1342, allocations: 55.34 kB / 0.9046 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.1343, allocations: 142.6 kB / 0.9048 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.1343, allocations: 25.7 kB / 0.9048 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.1344, allocations: 119.8 kB / 0.9049 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.1344, allocations: 27.77 kB / 0.9049 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.1344, allocations: 17.72 kB / 0.905 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.1345, allocations: 322.8 kB / 0.9053 GB, free: 1.434 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.1345, allocations: 8 kB / 0.9053 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.1345, allocations: 4 kB / 0.9053 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.1345, allocations: 32.77 kB / 0.9053 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1345, allocations: 4 kB / 0.9053 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.575e-05/0.1346, allocations: 62.08 kB / 0.9054 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.1346, allocations: 4 kB / 0.9054 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1346, allocations: 0 / 0.9054 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.1346, allocations: 0 / 0.9054 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.1347, allocations: 23.98 kB / 0.9054 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.1347, allocations: 0 / 0.9054 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.1347, allocations: 4 kB / 0.9054 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1347, allocations: 0 / 0.9054 GB, free: 1.285 MB / 0.8542 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.1348, allocations: 120.6 kB / 0.9055 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.1348, allocations: 15.92 kB / 0.9055 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.119e-05/0.1349, allocations: 66.52 kB / 0.9056 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1349, allocations: 4 kB / 0.9056 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1349, allocations: 0 / 0.9056 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1349, allocations: 3.984 kB / 0.9056 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.135, allocations: 97.81 kB / 0.9057 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.135, allocations: 0 / 0.9057 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.1351, allocations: 15.98 kB / 0.9057 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1351, allocations: 0 / 0.9057 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.1351, allocations: 3.938 kB / 0.9057 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1351, allocations: 4 kB / 0.9057 GB, free: 0.9258 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1351, allocations: 3.938 kB / 0.9057 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.992e-05/0.1351, allocations: 159.5 kB / 0.9059 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.1352, allocations: 11.89 kB / 0.9059 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.1352, allocations: 3.938 kB / 0.9059 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.1352, allocations: 7.984 kB / 0.9059 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.1352, allocations: 7.922 kB / 0.9059 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1352, allocations: 8 kB / 0.9059 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.03e-05/0.1353, allocations: 34.69 kB / 0.9059 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1353, allocations: 0 / 0.9059 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000132/0.1354, allocations: 23.95 kB / 0.906 GB, free: 0.6523 MB / 0.8542 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.659e-05/0.1355, allocations: 88.36 kB / 0.9061 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.372e-05/0.1355, allocations: 32.84 kB / 0.9061 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1355, allocations: 4 kB / 0.9061 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.397e-05/0.1356, allocations: 24.78 kB / 0.9061 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.1357, allocations: 27.91 kB / 0.9061 GB, free: 476 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.1363, allocations: 267.6 kB / 0.9064 GB, free: 180 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.479e-05/0.1363, allocations: 63.34 kB / 0.9065 GB, free: 96 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.1363, allocations: 12.48 kB / 0.9065 GB, free: 80 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.1364, allocations: 67.36 kB / 0.9065 GB, free: 12 kB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.1364, allocations: 0 / 0.9065 GB, free: 12 kB / 0.8542 GB Notification: Performance of Templates: time 0.002864/0.1393, allocations: 1.51 MB / 0.908 GB, free: 14.55 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.91220559226349]