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.001413/0.001413, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001913/0.001913, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 1.125/1.125, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.487/2.487, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.613e-06/1.613e-06, allocations: 0 / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.235e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1326/0.1326, allocations: 142.1 MB / 1.029 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1339, allocations: 1.152 MB / 1.03 GB, free: 9.891 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.134, allocations: 4 kB / 1.03 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.1343, allocations: 51.62 kB / 1.03 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005976/0.1349, allocations: 310.4 kB / 1.03 GB, free: 9.531 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1352, allocations: 175.2 kB / 1.03 GB, free: 9.359 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.1355, allocations: 227.2 kB / 1.03 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1356, allocations: 45.25 kB / 1.03 GB, free: 9.09 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1358, allocations: 115.8 kB / 1.031 GB, free: 8.977 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.1358, allocations: 43.88 kB / 1.031 GB, free: 8.934 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1358, allocations: 12 kB / 1.031 GB, free: 8.922 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.136, allocations: 135.7 kB / 1.031 GB, free: 8.789 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.136, allocations: 27.92 kB / 1.031 GB, free: 8.762 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.1361, allocations: 43.84 kB / 1.031 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1363, allocations: 207.3 kB / 1.031 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1363, allocations: 0 / 1.031 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1363, allocations: 0 / 1.031 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1363, allocations: 0 / 1.031 GB, free: 8.516 MB / 0.9948 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.0004264/0.1367, allocations: 499.3 kB / 1.032 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1368, allocations: 8.625 kB / 1.032 GB, free: 7.984 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002614/0.137, allocations: 64.67 kB / 1.032 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.1372, allocations: 148.2 kB / 1.032 GB, free: 7.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.1372, allocations: 11.94 kB / 1.032 GB, free: 7.738 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1372, allocations: 8 kB / 1.032 GB, free: 7.73 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1373, allocations: 105.7 kB / 1.032 GB, free: 7.621 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1373, allocations: 0 / 1.032 GB, free: 7.621 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1373, allocations: 4 kB / 1.032 GB, free: 7.617 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1373, allocations: 4 kB / 1.032 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.1374, allocations: 31.97 kB / 1.032 GB, free: 7.582 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.1378, allocations: 375.9 kB / 1.032 GB, free: 7.188 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.368e-05/0.1379, allocations: 62.98 kB / 1.032 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.1379, allocations: 15.73 kB / 1.032 GB, free: 7.094 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1379, allocations: 3.984 kB / 1.032 GB, free: 7.09 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1379, allocations: 37.39 kB / 1.032 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1379, allocations: 0 / 1.032 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.0001379/0.1381, allocations: 77.58 kB / 1.032 GB, free: 6.961 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.1381, allocations: 55.41 kB / 1.032 GB, free: 6.895 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/0.1382, allocations: 207.4 kB / 1.033 GB, free: 6.676 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.589e-06/0.1382, allocations: 25.7 kB / 1.033 GB, free: 6.645 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.1382, allocations: 166.7 kB / 1.033 GB, free: 6.477 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.1383, allocations: 27.73 kB / 1.033 GB, free: 6.449 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.1383, allocations: 27.36 kB / 1.033 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1384, allocations: 0.4961 MB / 1.033 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.1384, allocations: 4 kB / 1.033 GB, free: 5.902 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.593e-05/0.1384, allocations: 8 kB / 1.033 GB, free: 5.895 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.1385, allocations: 35.66 kB / 1.033 GB, free: 5.855 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1385, allocations: 4 kB / 1.033 GB, free: 5.852 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.372e-05/0.1386, allocations: 65.64 kB / 1.034 GB, free: 5.781 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1386, allocations: 10.34 kB / 1.034 GB, free: 5.773 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1386, allocations: 0 / 1.034 GB, free: 5.773 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.1386, allocations: 3.938 kB / 1.034 GB, free: 5.77 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.1386, allocations: 12 kB / 1.034 GB, free: 5.758 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1386, allocations: 3.984 kB / 1.034 GB, free: 5.754 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.1387, allocations: 4 kB / 1.034 GB, free: 5.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.1387, allocations: 0 / 1.034 GB, free: 5.75 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.614e-05/0.1387, allocations: 168.5 kB / 1.034 GB, free: 5.574 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1388, allocations: 15.84 kB / 1.034 GB, free: 5.559 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.139, allocations: 86.91 kB / 1.034 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.139, allocations: 0 / 1.034 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.139, allocations: 3.984 kB / 1.034 GB, free: 5.461 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.139, allocations: 0 / 1.034 GB, free: 5.461 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1391, allocations: 133.2 kB / 1.034 GB, free: 5.305 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1391, allocations: 3.984 kB / 1.034 GB, free: 5.301 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.1392, allocations: 8 kB / 1.034 GB, free: 5.293 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1392, allocations: 4 kB / 1.034 GB, free: 5.289 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.1392, allocations: 0 / 1.034 GB, free: 5.289 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1392, allocations: 4 kB / 1.034 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1392, allocations: 0 / 1.034 GB, free: 5.285 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.1393, allocations: 223.8 kB / 1.034 GB, free: 5.047 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.1393, allocations: 15.88 kB / 1.034 GB, free: 5.031 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1393, allocations: 4 kB / 1.034 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.006e-05/0.1394, allocations: 4 kB / 1.034 GB, free: 5.023 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.1394, allocations: 3.984 kB / 1.034 GB, free: 5.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1394, allocations: 4 kB / 1.034 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.1394, allocations: 145.2 kB / 1.034 GB, free: 4.875 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.1394, allocations: 0 / 1.034 GB, free: 4.875 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001439/0.1396, allocations: 27.94 kB / 1.034 GB, free: 4.848 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.32e-05/0.1397, allocations: 99.25 kB / 1.034 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 7.427e-05/0.1397, allocations: 39.66 kB / 1.035 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-06/0.1397, allocations: 3.938 kB / 1.035 GB, free: 4.695 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.394e-05/0.1398, allocations: 23.67 kB / 1.035 GB, free: 4.668 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.14, allocations: 29.81 kB / 1.035 GB, free: 4.641 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.1405, allocations: 260.8 kB / 1.035 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.531e-05/0.1406, allocations: 67.33 kB / 1.035 GB, free: 4.273 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.1406, allocations: 8.5 kB / 1.035 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.511e-05/0.1407, allocations: 94.17 kB / 1.035 GB, free: 4.172 MB / 0.9948 GB Notification: Performance of SimCode: time 4.91e-07/0.1407, allocations: 0 / 1.035 GB, free: 4.172 MB / 0.9948 GB Notification: Performance of Templates: time 0.002806/0.1435, allocations: 1.564 MB / 1.037 GB, free: 2.645 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.781361238099635]