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.0007651/0.0007651, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001025/0.001025, allocations: 169 kB / 23.02 MB, free: 1.551 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.9409/0.9409, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.097/2.097, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.893e-06/1.893e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.606e-05, allocations: 13.34 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1386/0.1386, allocations: 144.9 MB / 1.02 GB, free: 4.895 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1401, allocations: 1.16 MB / 1.021 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1402, allocations: 3.938 kB / 1.021 GB, free: 3.727 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.1406, allocations: 51.69 kB / 1.021 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007657/0.1414, allocations: 314.3 kB / 1.021 GB, free: 3.367 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.1418, allocations: 167.2 kB / 1.021 GB, free: 3.203 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.1422, allocations: 223.2 kB / 1.022 GB, free: 2.984 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1423, allocations: 45.2 kB / 1.022 GB, free: 2.938 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1424, allocations: 79.8 kB / 1.022 GB, free: 2.859 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/0.1425, allocations: 51.81 kB / 1.022 GB, free: 2.809 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1425, allocations: 12 kB / 1.022 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.1429, allocations: 231.4 kB / 1.022 GB, free: 2.57 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.278e-05/0.1429, allocations: 31.91 kB / 1.022 GB, free: 2.539 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.143, allocations: 47.84 kB / 1.022 GB, free: 2.492 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.1433, allocations: 235.2 kB / 1.022 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1433, allocations: 0 / 1.022 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1433, allocations: 0 / 1.022 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1433, allocations: 0 / 1.022 GB, free: 2.262 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.0005213/0.1438, allocations: 499.6 kB / 1.023 GB, free: 1.738 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.1439, allocations: 8.031 kB / 1.023 GB, free: 1.73 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.1442, allocations: 64.67 kB / 1.023 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1444, allocations: 156.8 kB / 1.023 GB, free: 1.488 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1444, allocations: 8 kB / 1.023 GB, free: 1.48 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.1444, allocations: 8 kB / 1.023 GB, free: 1.473 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1446, allocations: 108 kB / 1.023 GB, free: 1.359 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1446, allocations: 4 kB / 1.023 GB, free: 1.355 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1446, allocations: 0 / 1.023 GB, free: 1.355 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1446, allocations: 4 kB / 1.023 GB, free: 1.352 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.1447, allocations: 43.91 kB / 1.023 GB, free: 1.309 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.1453, allocations: 411.2 kB / 1.023 GB, free: 0.8711 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1454, allocations: 59.05 kB / 1.024 GB, free: 0.8008 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.1454, allocations: 19.69 kB / 1.024 GB, free: 0.7773 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1454, allocations: 8.062 kB / 1.024 GB, free: 0.7695 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1455, allocations: 41.42 kB / 1.024 GB, free: 0.7188 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1455, allocations: 0 / 1.024 GB, free: 0.7188 MB / 0.9792 GB Notification: Performance of matching and sorting (n=7): time 0.0002041/0.1457, allocations: 85.56 kB / 1.024 GB, free: 0.6289 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.1457, allocations: 51.41 kB / 1.024 GB, free: 0.5664 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1458, allocations: 204 kB / 1.024 GB, free: 360 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1458, allocations: 25.7 kB / 1.024 GB, free: 328 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.1459, allocations: 170.6 kB / 1.024 GB, free: 152 kB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.1459, allocations: 23.8 kB / 1.024 GB, free: 128 kB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.146, allocations: 27.36 kB / 1.024 GB, free: 92 kB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1461, allocations: 0.4922 MB / 1.025 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.1461, allocations: 11.98 kB / 1.025 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.1462, allocations: 12 kB / 1.025 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.029e-05/0.1462, allocations: 39.61 kB / 1.025 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1462, allocations: 4 kB / 1.025 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001004/0.1463, allocations: 73.59 kB / 1.025 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1463, allocations: 4 kB / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1463, allocations: 0 / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1464, allocations: 4 kB / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.1464, allocations: 12 kB / 1.025 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1464, allocations: 3.984 kB / 1.025 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.1465, allocations: 8 kB / 1.025 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1465, allocations: 4 kB / 1.025 GB, free: 15.4 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.839e-05/0.1466, allocations: 168.5 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.1466, allocations: 7.953 kB / 1.025 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.1467, allocations: 86.97 kB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1467, allocations: 0 / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1467, allocations: 3.984 kB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1467, allocations: 4 kB / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1469, allocations: 160.4 kB / 1.025 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1469, allocations: 7.922 kB / 1.025 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.1469, allocations: 12 kB / 1.025 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1469, allocations: 7.938 kB / 1.025 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1469, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1469, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1469, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.1471, allocations: 231.9 kB / 1.025 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.1471, allocations: 11.95 kB / 1.025 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1471, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.335e-05/0.1472, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1472, allocations: 7.984 kB / 1.026 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1472, allocations: 0 / 1.026 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 6.607e-05/0.1473, allocations: 157.4 kB / 1.026 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1473, allocations: 4 kB / 1.026 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001696/0.1474, allocations: 27.89 kB / 1.026 GB, free: 14.46 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.0001276/0.1476, allocations: 107.1 kB / 1.026 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1477, allocations: 39.67 kB / 1.026 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1477, allocations: 0 / 1.026 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.429e-05/0.1477, allocations: 27.61 kB / 1.026 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.148, allocations: 43.78 kB / 1.026 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.1486, allocations: 242.7 kB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.1486, allocations: 63.34 kB / 1.026 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.062e-05/0.1487, allocations: 16.48 kB / 1.026 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.1487, allocations: 16.5 kB / 1.026 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of SimCode: time 5.91e-07/0.1487, allocations: 0 / 1.026 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of Templates: time 0.003504/0.1522, allocations: 1.562 MB / 1.028 GB, free: 12.32 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.586268014274538]