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.0007969/0.0007969, allocations: 92.22 kB / 19.65 MB, free: 276 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.000903/0.000903, allocations: 173 kB / 23.03 MB, free: 1.543 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.8549/0.8549, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 1.936/1.936, allocations: 429.5 MB / 0.6733 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 178] 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.112e-06/1.112e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.395e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1406/0.1407, allocations: 144.9 MB / 1.02 GB, free: 4.91 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1418, allocations: 1.168 MB / 1.021 GB, free: 3.738 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.791e-05/0.1419, allocations: 0 / 1.021 GB, free: 3.738 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.1423, allocations: 55.62 kB / 1.021 GB, free: 3.684 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0006292/0.1429, allocations: 306.4 kB / 1.021 GB, free: 3.383 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1431, allocations: 179.2 kB / 1.021 GB, free: 3.207 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.1435, allocations: 227.2 kB / 1.022 GB, free: 2.984 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1436, allocations: 37.27 kB / 1.022 GB, free: 2.945 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1437, allocations: 111.8 kB / 1.022 GB, free: 2.836 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.1438, allocations: 51.81 kB / 1.022 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1438, allocations: 12 kB / 1.022 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.144, allocations: 127.7 kB / 1.022 GB, free: 2.648 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.1441, allocations: 31.89 kB / 1.022 GB, free: 2.617 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.1441, allocations: 43.91 kB / 1.022 GB, free: 2.574 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1444, allocations: 211.2 kB / 1.022 GB, free: 2.367 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1444, allocations: 0 / 1.022 GB, free: 2.367 MB / 0.9792 GB Notification: Performance of FrontEnd: time 9.81e-07/0.1444, allocations: 0 / 1.022 GB, free: 2.367 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.1444, allocations: 0 / 1.022 GB, free: 2.367 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.0005329/0.1449, allocations: 483.7 kB / 1.023 GB, free: 1.859 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1449, allocations: 15.97 kB / 1.023 GB, free: 1.844 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.1453, allocations: 68.66 kB / 1.023 GB, free: 1.777 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.1456, allocations: 148.2 kB / 1.023 GB, free: 1.605 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1456, allocations: 4 kB / 1.023 GB, free: 1.602 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1457, allocations: 15.98 kB / 1.023 GB, free: 1.586 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1458, allocations: 104 kB / 1.023 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1459, allocations: 0 / 1.023 GB, free: 1.477 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1459, allocations: 4 kB / 1.023 GB, free: 1.473 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1459, allocations: 4 kB / 1.023 GB, free: 1.469 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/0.146, allocations: 39.97 kB / 1.023 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.1464, allocations: 411.3 kB / 1.023 GB, free: 0.9922 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.1465, allocations: 63.05 kB / 1.023 GB, free: 0.918 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.1466, allocations: 23.66 kB / 1.023 GB, free: 0.8906 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1466, allocations: 4 kB / 1.023 GB, free: 0.8867 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1466, allocations: 33.39 kB / 1.024 GB, free: 0.8438 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1466, allocations: 0 / 1.024 GB, free: 0.8438 MB / 0.9792 GB Notification: Performance of matching and sorting (n=7): time 0.0001897/0.1468, allocations: 85.62 kB / 1.024 GB, free: 0.7539 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1468, allocations: 55.41 kB / 1.024 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1469, allocations: 207.9 kB / 1.024 GB, free: 480 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.147, allocations: 29.64 kB / 1.024 GB, free: 444 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.147, allocations: 170.6 kB / 1.024 GB, free: 268 kB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.147, allocations: 23.78 kB / 1.024 GB, free: 244 kB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.1471, allocations: 31.33 kB / 1.024 GB, free: 204 kB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1472, allocations: 0.4922 MB / 1.025 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.1472, allocations: 12 kB / 1.025 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.1472, allocations: 11.98 kB / 1.025 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/0.1473, allocations: 31.69 kB / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1473, allocations: 4 kB / 1.025 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.627e-05/0.1474, allocations: 77.62 kB / 1.025 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1474, allocations: 4 kB / 1.025 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1474, allocations: 0 / 1.025 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1474, allocations: 0 / 1.025 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.1475, allocations: 19.92 kB / 1.025 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1475, allocations: 4 kB / 1.025 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.1475, allocations: 4 kB / 1.025 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1475, allocations: 4 kB / 1.025 GB, free: 15.52 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 6.676e-05/0.1476, allocations: 160.5 kB / 1.025 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.1476, allocations: 15.95 kB / 1.025 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.1478, allocations: 86.92 kB / 1.025 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1478, allocations: 0 / 1.025 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1478, allocations: 0 / 1.025 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1478, allocations: 0 / 1.025 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.1479, allocations: 164.5 kB / 1.025 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1479, allocations: 0 / 1.025 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.1479, allocations: 12 kB / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1479, allocations: 0 / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1479, allocations: 0 / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1479, allocations: 3.938 kB / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1479, allocations: 4 kB / 1.025 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.1481, allocations: 235.8 kB / 1.025 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.1481, allocations: 11.88 kB / 1.025 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1481, allocations: 8 kB / 1.025 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.293e-05/0.1481, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1482, allocations: 7.984 kB / 1.025 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.1482, allocations: 0 / 1.025 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.1482, allocations: 151.2 kB / 1.026 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1482, allocations: 0 / 1.026 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001641/0.1484, allocations: 27.89 kB / 1.026 GB, free: 14.58 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 9.35e-05/0.1485, allocations: 103.2 kB / 1.026 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.1486, allocations: 39.67 kB / 1.026 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.1486, allocations: 0 / 1.026 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.241e-05/0.1486, allocations: 27.61 kB / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.1489, allocations: 38.09 kB / 1.026 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.1495, allocations: 262.5 kB / 1.026 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.013e-05/0.1496, allocations: 63.34 kB / 1.026 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.978e-05/0.1496, allocations: 8.5 kB / 1.026 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.1496, allocations: 16.5 kB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of SimCode: time 7.92e-07/0.1496, allocations: 0 / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of Templates: time 0.003125/0.1528, allocations: 1.527 MB / 1.028 GB, free: 12.48 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: 4.972872007172555]