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/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.0009474/0.0009474, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009929/0.0009929, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 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.9634/0.9634, allocations: 177.2 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.292/2.292, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.408e-05, allocations: 4.844 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1252/0.1252, allocations: 144.2 MB / 0.9795 GB, free: 13.36 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1263, allocations: 1.176 MB / 0.9806 GB, free: 12.18 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.1264, allocations: 4 kB / 0.9806 GB, free: 12.18 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.1267, allocations: 47.69 kB / 0.9807 GB, free: 12.13 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000586/0.1273, allocations: 318.3 kB / 0.981 GB, free: 11.82 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.1276, allocations: 175.2 kB / 0.9811 GB, free: 11.65 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.1279, allocations: 215.2 kB / 0.9813 GB, free: 11.44 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.128, allocations: 45.92 kB / 0.9814 GB, free: 11.39 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1281, allocations: 111.8 kB / 0.9815 GB, free: 11.29 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.1282, allocations: 47.81 kB / 0.9815 GB, free: 11.24 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1282, allocations: 12 kB / 0.9816 GB, free: 11.23 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.1284, allocations: 127.8 kB / 0.9817 GB, free: 11.1 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.446e-05/0.1284, allocations: 31.86 kB / 0.9817 GB, free: 11.07 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.1284, allocations: 43.91 kB / 0.9817 GB, free: 11.03 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1287, allocations: 207.3 kB / 0.9819 GB, free: 10.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1287, allocations: 3.938 kB / 0.982 GB, free: 10.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1287, allocations: 0 / 0.982 GB, free: 10.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.1287, allocations: 0 / 0.982 GB, free: 10.82 MB / 0.948 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.0003652/0.1291, allocations: 359.7 kB / 0.9823 GB, free: 10.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1291, allocations: 8.625 kB / 0.9823 GB, free: 10.44 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.1293, allocations: 64.75 kB / 0.9824 GB, free: 10.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.1295, allocations: 137.3 kB / 0.9825 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1295, allocations: 12 kB / 0.9825 GB, free: 10.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.1295, allocations: 8 kB / 0.9825 GB, free: 10.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1296, allocations: 98.27 kB / 0.9826 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1296, allocations: 0 / 0.9826 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1296, allocations: 11.98 kB / 0.9826 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1297, allocations: 0 / 0.9826 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/0.1297, allocations: 31.92 kB / 0.9826 GB, free: 10.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.13, allocations: 263.8 kB / 0.9829 GB, free: 9.773 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.986e-05/0.1301, allocations: 54.48 kB / 0.983 GB, free: 9.711 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.1301, allocations: 8.859 kB / 0.983 GB, free: 9.699 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.1301, allocations: 4 kB / 0.983 GB, free: 9.695 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.1302, allocations: 34.5 kB / 0.983 GB, free: 9.652 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1302, allocations: 0 / 0.983 GB, free: 9.652 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0001181/0.1303, allocations: 65.91 kB / 0.9831 GB, free: 9.582 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.1303, allocations: 55.41 kB / 0.9831 GB, free: 9.516 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.1304, allocations: 140.7 kB / 0.9832 GB, free: 9.367 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1304, allocations: 25.7 kB / 0.9833 GB, free: 9.336 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.1304, allocations: 119.9 kB / 0.9834 GB, free: 9.215 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.1305, allocations: 19.8 kB / 0.9834 GB, free: 9.195 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1305, allocations: 29.64 kB / 0.9834 GB, free: 9.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.1306, allocations: 322.8 kB / 0.9837 GB, free: 8.836 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.1306, allocations: 11.98 kB / 0.9838 GB, free: 8.824 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.1306, allocations: 12 kB / 0.9838 GB, free: 8.812 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.1306, allocations: 32.77 kB / 0.9838 GB, free: 8.777 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1306, allocations: 0 / 0.9838 GB, free: 8.777 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.596e-05/0.1307, allocations: 65.67 kB / 0.9839 GB, free: 8.707 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.1307, allocations: 4 kB / 0.9839 GB, free: 8.703 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1307, allocations: 0 / 0.9839 GB, free: 8.703 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.1307, allocations: 0 / 0.9839 GB, free: 8.703 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.1308, allocations: 12 kB / 0.9839 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.1308, allocations: 0 / 0.9839 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.1308, allocations: 7.984 kB / 0.9839 GB, free: 8.684 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1308, allocations: 4 kB / 0.9839 GB, free: 8.68 MB / 0.948 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.813e-05/0.1309, allocations: 120.5 kB / 0.984 GB, free: 8.551 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.1309, allocations: 11.98 kB / 0.984 GB, free: 8.539 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.901e-05/0.131, allocations: 66.45 kB / 0.9841 GB, free: 8.465 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.131, allocations: 0 / 0.9841 GB, free: 8.465 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.131, allocations: 0 / 0.9841 GB, free: 8.465 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.131, allocations: 0 / 0.9841 GB, free: 8.465 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.1311, allocations: 101.8 kB / 0.9842 GB, free: 8.348 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1311, allocations: 3.938 kB / 0.9842 GB, free: 8.344 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.1312, allocations: 19.92 kB / 0.9842 GB, free: 8.324 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1312, allocations: 0 / 0.9842 GB, free: 8.324 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1312, allocations: 4 kB / 0.9842 GB, free: 8.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1312, allocations: 0 / 0.9842 GB, free: 8.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1312, allocations: 4 kB / 0.9842 GB, free: 8.316 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.104e-05/0.1313, allocations: 151.5 kB / 0.9843 GB, free: 8.152 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.1313, allocations: 15.84 kB / 0.9844 GB, free: 8.137 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1313, allocations: 4 kB / 0.9844 GB, free: 8.133 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.1313, allocations: 0 / 0.9844 GB, free: 8.133 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.1314, allocations: 7.984 kB / 0.9844 GB, free: 8.125 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1314, allocations: 0 / 0.9844 GB, free: 8.125 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.971e-05/0.1314, allocations: 33.95 kB / 0.9844 GB, free: 8.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1314, allocations: 0 / 0.9844 GB, free: 8.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001294/0.1315, allocations: 20 kB / 0.9844 GB, free: 8.07 MB / 0.948 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 9.522e-05/0.1316, allocations: 88.34 kB / 0.9845 GB, free: 7.977 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.437e-05/0.1317, allocations: 28.86 kB / 0.9845 GB, free: 7.945 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.1317, allocations: 0 / 0.9845 GB, free: 7.945 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.1317, allocations: 33.25 kB / 0.9846 GB, free: 7.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.1319, allocations: 43.83 kB / 0.9846 GB, free: 7.867 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.1324, allocations: 255.8 kB / 0.9849 GB, free: 7.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.1325, allocations: 67.34 kB / 0.9849 GB, free: 7.504 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.668e-05/0.1325, allocations: 20.47 kB / 0.9849 GB, free: 7.484 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.1326, allocations: 67.36 kB / 0.985 GB, free: 7.418 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.1326, allocations: 0 / 0.985 GB, free: 7.418 MB / 0.948 GB Notification: Performance of Templates: time 0.003141/0.1357, allocations: 1.523 MB / 0.9865 GB, free: 5.945 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.1757341250777245]