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.001447/0.001447, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001937/0.001937, allocations: 173 kB / 23.49 MB, free: 1.059 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.9393/0.9393, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.045/2.045, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.603e-06/1.603e-06, allocations: 0 / 0.8782 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.714e-05, allocations: 4.5 kB / 0.8782 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.134/0.134, allocations: 144.6 MB / 1.019 GB, free: 5.48 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1353, allocations: 1.16 MB / 1.021 GB, free: 4.316 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1354, allocations: 7.938 kB / 1.021 GB, free: 4.309 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.1358, allocations: 51.75 kB / 1.021 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0006816/0.1365, allocations: 318.3 kB / 1.021 GB, free: 3.945 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.1368, allocations: 175.2 kB / 1.021 GB, free: 3.773 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.1372, allocations: 231.2 kB / 1.021 GB, free: 3.547 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1373, allocations: 37.28 kB / 1.021 GB, free: 3.508 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 9.465e-05/0.1374, allocations: 75.81 kB / 1.021 GB, free: 3.434 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.1375, allocations: 51.81 kB / 1.021 GB, free: 3.383 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1375, allocations: 12 kB / 1.021 GB, free: 3.371 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.1378, allocations: 231.4 kB / 1.022 GB, free: 3.145 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.1379, allocations: 39.83 kB / 1.022 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.1379, allocations: 43.86 kB / 1.022 GB, free: 3.062 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.1383, allocations: 235.2 kB / 1.022 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1383, allocations: 0 / 1.022 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1383, allocations: 4 kB / 1.022 GB, free: 2.828 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1383, allocations: 0 / 1.022 GB, free: 2.828 MB / 0.9792 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.0005689/0.1388, allocations: 495.6 kB / 1.022 GB, free: 2.309 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1389, allocations: 8.031 kB / 1.022 GB, free: 2.301 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003608/0.1392, allocations: 64.73 kB / 1.023 GB, free: 2.238 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1394, allocations: 164.7 kB / 1.023 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1395, allocations: 4 kB / 1.023 GB, free: 2.047 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.1395, allocations: 12 kB / 1.023 GB, free: 2.035 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1397, allocations: 99.39 kB / 1.023 GB, free: 1.93 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1397, allocations: 3.938 kB / 1.023 GB, free: 1.926 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1397, allocations: 4 kB / 1.023 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1397, allocations: 4 kB / 1.023 GB, free: 1.918 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.1398, allocations: 40.56 kB / 1.023 GB, free: 1.879 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.1403, allocations: 415.3 kB / 1.023 GB, free: 1.438 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1404, allocations: 63.03 kB / 1.023 GB, free: 1.363 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.1405, allocations: 27.7 kB / 1.023 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1405, allocations: 0 / 1.023 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1405, allocations: 37.45 kB / 1.023 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.1405, allocations: 3.938 kB / 1.023 GB, free: 1.281 MB / 0.9792 GB Notification: Performance of matching and sorting (n=7): time 0.0002019/0.1407, allocations: 77.64 kB / 1.023 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.1408, allocations: 51.41 kB / 1.024 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1409, allocations: 208.3 kB / 1.024 GB, free: 0.918 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1409, allocations: 25.7 kB / 1.024 GB, free: 0.8867 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.141, allocations: 170.6 kB / 1.024 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.141, allocations: 27.78 kB / 1.024 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.141, allocations: 27.33 kB / 1.024 GB, free: 0.6523 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000419/0.1414, allocations: 0.4961 MB / 1.024 GB, free: 148 kB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.1415, allocations: 8 kB / 1.024 GB, free: 140 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/0.1415, allocations: 15.97 kB / 1.024 GB, free: 124 kB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.87e-05/0.1416, allocations: 39.62 kB / 1.025 GB, free: 80 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1416, allocations: 0 / 1.025 GB, free: 80 kB / 0.9792 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001032/0.1417, allocations: 69.64 kB / 1.025 GB, free: 4 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.1417, allocations: 8.047 kB / 1.025 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1417, allocations: 4 kB / 1.025 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1417, allocations: 0 / 1.025 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.1418, allocations: 19.94 kB / 1.025 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1418, allocations: 0 / 1.025 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/0.1419, allocations: 7.938 kB / 1.025 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1419, allocations: 0 / 1.025 GB, free: 15.96 MB / 0.9948 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 7.743e-05/0.142, allocations: 168.5 kB / 1.025 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.142, allocations: 11.94 kB / 1.025 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.1421, allocations: 82.45 kB / 1.025 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.1421, allocations: 4 kB / 1.025 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1421, allocations: 3.938 kB / 1.025 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1422, allocations: 0 / 1.025 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1423, allocations: 164.5 kB / 1.025 GB, free: 15.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1423, allocations: 0 / 1.025 GB, free: 15.49 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.1423, allocations: 19.92 kB / 1.025 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1424, allocations: 0 / 1.025 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1424, allocations: 0 / 1.025 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1424, allocations: 0 / 1.025 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1424, allocations: 4 kB / 1.025 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.1425, allocations: 220.5 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.1425, allocations: 7.953 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1425, allocations: 4 kB / 1.025 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.1426, allocations: 7.984 kB / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1426, allocations: 0 / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1426, allocations: 4 kB / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.1427, allocations: 152.7 kB / 1.025 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1427, allocations: 0 / 1.025 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001751/0.1429, allocations: 31.83 kB / 1.025 GB, free: 15.03 MB / 0.9948 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 0.0001391/0.143, allocations: 107.2 kB / 1.026 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1431, allocations: 47.72 kB / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1431, allocations: 0 / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.1431, allocations: 27.77 kB / 1.026 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1434, allocations: 39.91 kB / 1.026 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.1441, allocations: 250.7 kB / 1.026 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.099e-05/0.1441, allocations: 63.34 kB / 1.026 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 5.802e-05/0.1442, allocations: 16.47 kB / 1.026 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.1442, allocations: 12.5 kB / 1.026 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of SimCode: time 1.092e-06/0.1442, allocations: 0 / 1.026 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of Templates: time 0.003427/0.1477, allocations: 1.566 MB / 1.028 GB, free: 12.88 MB / 0.9948 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.442686274182051]