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.00111/0.00111, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009715/0.0009715, allocations: 165 kB / 23.82 MB, free: 0.7539 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.9765/0.9765, allocations: 177.1 MB / 204.2 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.907/1.907, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.824e-06/1.824e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.229e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1358/0.1358, allocations: 144.8 MB / 0.953 GB, free: 380 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1371, allocations: 1.172 MB / 0.9542 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.404e-05/0.1372, allocations: 4 kB / 0.9542 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.1375, allocations: 47.64 kB / 0.9542 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0006524/0.1382, allocations: 314.4 kB / 0.9545 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.1384, allocations: 167.2 kB / 0.9547 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.1388, allocations: 227.1 kB / 0.9549 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1389, allocations: 48.5 kB / 0.9549 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 9.586e-05/0.139, allocations: 75.81 kB / 0.955 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.938e-05/0.1391, allocations: 47.81 kB / 0.9551 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1391, allocations: 16 kB / 0.9551 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.1394, allocations: 239.4 kB / 0.9553 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.1395, allocations: 23.92 kB / 0.9553 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.1395, allocations: 39.91 kB / 0.9554 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.1399, allocations: 243.2 kB / 0.9556 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1399, allocations: 0 / 0.9556 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1399, allocations: 0 / 0.9556 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1399, allocations: 3.938 kB / 0.9556 GB, free: 13.73 MB / 0.9167 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.000583/0.1405, allocations: 495.6 kB / 0.9561 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1405, allocations: 8.031 kB / 0.9561 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.1409, allocations: 64.73 kB / 0.9561 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.1411, allocations: 156.4 kB / 0.9563 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1411, allocations: 4.375 kB / 0.9563 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.1411, allocations: 12.38 kB / 0.9563 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1413, allocations: 106.8 kB / 0.9564 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1413, allocations: 4 kB / 0.9564 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1413, allocations: 8 kB / 0.9564 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1413, allocations: 0 / 0.9564 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.1414, allocations: 46.81 kB / 0.9565 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.1419, allocations: 403.3 kB / 0.9568 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.1421, allocations: 67.02 kB / 0.9569 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.1421, allocations: 19.69 kB / 0.9569 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1421, allocations: 3.938 kB / 0.9569 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1421, allocations: 41.45 kB / 0.957 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.1421, allocations: 4 kB / 0.957 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001997/0.1423, allocations: 77.62 kB / 0.957 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.1424, allocations: 59.34 kB / 0.9571 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1425, allocations: 199.8 kB / 0.9573 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1425, allocations: 29.7 kB / 0.9573 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.1426, allocations: 166.6 kB / 0.9575 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.1426, allocations: 23.8 kB / 0.9575 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.1426, allocations: 23.38 kB / 0.9575 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1428, allocations: 0.4923 MB / 0.958 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.1428, allocations: 11.98 kB / 0.958 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.1428, allocations: 12.31 kB / 0.958 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.1429, allocations: 39.83 kB / 0.9581 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1429, allocations: 3.938 kB / 0.9581 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001082/0.143, allocations: 77.62 kB / 0.9581 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.143, allocations: 7.938 kB / 0.9582 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.143, allocations: 0 / 0.9582 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.143, allocations: 0 / 0.9582 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.1431, allocations: 15.98 kB / 0.9582 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1431, allocations: 0 / 0.9582 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.1432, allocations: 11.89 kB / 0.9582 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1432, allocations: 4 kB / 0.9582 GB, free: 10.87 MB / 0.9167 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.631e-05/0.1432, allocations: 168.5 kB / 0.9583 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.1433, allocations: 11.95 kB / 0.9584 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.1434, allocations: 82.39 kB / 0.9584 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1434, allocations: 3.984 kB / 0.9584 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1434, allocations: 0 / 0.9584 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1434, allocations: 0 / 0.9584 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.1436, allocations: 156.6 kB / 0.9586 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1436, allocations: 11.88 kB / 0.9586 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.1436, allocations: 11.98 kB / 0.9586 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1436, allocations: 0 / 0.9586 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1436, allocations: 8 kB / 0.9586 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1436, allocations: 0 / 0.9586 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1436, allocations: 0 / 0.9586 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.1438, allocations: 219.8 kB / 0.9588 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.1438, allocations: 11.89 kB / 0.9588 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1438, allocations: 4 kB / 0.9588 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.086e-05/0.1439, allocations: 11.98 kB / 0.9589 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.1439, allocations: 7.984 kB / 0.9589 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.1439, allocations: 0 / 0.9589 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.273e-05/0.144, allocations: 149.2 kB / 0.959 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.144, allocations: 0 / 0.959 GB, free: 9.961 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001769/0.1442, allocations: 31.89 kB / 0.959 GB, free: 9.93 MB / 0.9167 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.0001668/0.1444, allocations: 107.2 kB / 0.9591 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.1445, allocations: 43.61 kB / 0.9592 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1445, allocations: 0 / 0.9592 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/0.1445, allocations: 23.67 kB / 0.9592 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.1448, allocations: 31.92 kB / 0.9592 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.1456, allocations: 251.2 kB / 0.9595 GB, free: 9.434 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.309e-05/0.1456, allocations: 67.89 kB / 0.9595 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.907e-05/0.1457, allocations: 12.5 kB / 0.9596 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.1457, allocations: 12.5 kB / 0.9596 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of SimCode: time 8.32e-07/0.1457, allocations: 0 / 0.9596 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of Templates: time 0.003557/0.1493, allocations: 1.568 MB / 0.9611 GB, free: 7.801 MB / 0.9167 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 -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: 5.440857328940183]