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.0009262/0.0009262, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001035/0.001035, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.909/0.909, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.089/2.089, allocations: 429.5 MB / 0.6743 GB, free: 3.93 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.282e-06/1.282e-06, allocations: 0 / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.542e-05, allocations: 4.844 kB / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1231/0.1231, allocations: 142.1 MB / 1.018 GB, free: 7.352 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1243, allocations: 1.16 MB / 1.019 GB, free: 6.188 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1244, allocations: 0 / 1.019 GB, free: 6.188 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.1248, allocations: 59.61 kB / 1.019 GB, free: 6.129 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0006821/0.1254, allocations: 306.4 kB / 1.02 GB, free: 5.828 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.1258, allocations: 175.2 kB / 1.02 GB, free: 5.656 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.1262, allocations: 223.2 kB / 1.02 GB, free: 5.438 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1263, allocations: 37.23 kB / 1.02 GB, free: 5.398 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1265, allocations: 115.8 kB / 1.02 GB, free: 5.285 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.1266, allocations: 51.81 kB / 1.02 GB, free: 5.234 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1266, allocations: 12 kB / 1.02 GB, free: 5.223 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.1268, allocations: 123.8 kB / 1.02 GB, free: 5.102 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.1268, allocations: 31.84 kB / 1.02 GB, free: 5.07 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.1269, allocations: 35.92 kB / 1.02 GB, free: 5.035 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.1272, allocations: 219.2 kB / 1.021 GB, free: 4.82 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1272, allocations: 0 / 1.021 GB, free: 4.82 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1272, allocations: 4 kB / 1.021 GB, free: 4.816 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1272, allocations: 0 / 1.021 GB, free: 4.816 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.0004891/0.1277, allocations: 491.6 kB / 1.021 GB, free: 4.301 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1277, allocations: 12.03 kB / 1.021 GB, free: 4.289 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.128, allocations: 56.69 kB / 1.021 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.1282, allocations: 153.5 kB / 1.021 GB, free: 4.059 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1282, allocations: 12 kB / 1.021 GB, free: 4.047 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1282, allocations: 12 kB / 1.021 GB, free: 4.035 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1283, allocations: 95.38 kB / 1.022 GB, free: 3.934 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.1283, allocations: 0 / 1.022 GB, free: 3.934 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1283, allocations: 8 kB / 1.022 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1283, allocations: 0 / 1.022 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.1284, allocations: 35.84 kB / 1.022 GB, free: 3.891 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1288, allocations: 372 kB / 1.022 GB, free: 3.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 8.641e-05/0.1289, allocations: 66.97 kB / 1.022 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.1289, allocations: 15.69 kB / 1.022 GB, free: 3.402 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.1289, allocations: 4 kB / 1.022 GB, free: 3.398 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.129, allocations: 33.39 kB / 1.022 GB, free: 3.355 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.129, allocations: 3.938 kB / 1.022 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of matching and sorting (n=7): time 0.0001609/0.1291, allocations: 73.75 kB / 1.022 GB, free: 3.273 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1292, allocations: 55.39 kB / 1.022 GB, free: 3.207 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1293, allocations: 200 kB / 1.022 GB, free: 2.996 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1293, allocations: 29.7 kB / 1.022 GB, free: 2.961 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/0.1294, allocations: 174.6 kB / 1.023 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.1294, allocations: 27.73 kB / 1.023 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1294, allocations: 31.31 kB / 1.023 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1296, allocations: 0.5 MB / 1.023 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.1296, allocations: 11.98 kB / 1.023 GB, free: 2.195 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.542e-05/0.1296, allocations: 4 kB / 1.023 GB, free: 2.191 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/0.1296, allocations: 35.61 kB / 1.023 GB, free: 2.152 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1296, allocations: 0 / 1.023 GB, free: 2.152 MB / 0.9792 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.974e-05/0.1297, allocations: 65.64 kB / 1.023 GB, free: 2.082 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1297, allocations: 4 kB / 1.023 GB, free: 2.078 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1298, allocations: 0 / 1.023 GB, free: 2.078 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.1298, allocations: 0 / 1.023 GB, free: 2.078 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.1298, allocations: 19.98 kB / 1.023 GB, free: 2.059 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1298, allocations: 4 kB / 1.023 GB, free: 2.055 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.1299, allocations: 4 kB / 1.023 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1299, allocations: 7.984 kB / 1.023 GB, free: 2.043 MB / 0.9792 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.385e-05/0.13, allocations: 160.5 kB / 1.023 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.13, allocations: 11.95 kB / 1.023 GB, free: 1.863 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.1301, allocations: 74.98 kB / 1.023 GB, free: 1.789 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1301, allocations: 0 / 1.023 GB, free: 1.789 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.1301, allocations: 4 kB / 1.023 GB, free: 1.785 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1301, allocations: 0 / 1.023 GB, free: 1.785 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.1302, allocations: 141.1 kB / 1.024 GB, free: 1.621 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1302, allocations: 4 kB / 1.024 GB, free: 1.617 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.1303, allocations: 19.92 kB / 1.024 GB, free: 1.598 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1303, allocations: 0 / 1.024 GB, free: 1.598 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.1303, allocations: 0 / 1.024 GB, free: 1.598 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1303, allocations: 0 / 1.024 GB, free: 1.598 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1303, allocations: 4 kB / 1.024 GB, free: 1.594 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.1304, allocations: 215.9 kB / 1.024 GB, free: 1.363 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.1304, allocations: 15.89 kB / 1.024 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.1305, allocations: 0 / 1.024 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/0.1305, allocations: 7.984 kB / 1.024 GB, free: 1.34 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.1305, allocations: 8 kB / 1.024 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.1305, allocations: 3.984 kB / 1.024 GB, free: 1.328 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.1306, allocations: 147.2 kB / 1.024 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1306, allocations: 3.938 kB / 1.024 GB, free: 1.18 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001559/0.1307, allocations: 23.95 kB / 1.024 GB, free: 1.156 MB / 0.9792 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.0001054/0.1309, allocations: 99.19 kB / 1.024 GB, free: 1.047 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.962e-05/0.1309, allocations: 39.64 kB / 1.024 GB, free: 1.004 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1309, allocations: 0 / 1.024 GB, free: 1.004 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.131, allocations: 23.62 kB / 1.024 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.1312, allocations: 47.78 kB / 1.024 GB, free: 0.9297 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/0.1318, allocations: 249.3 kB / 1.024 GB, free: 0.6602 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.1318, allocations: 71.91 kB / 1.025 GB, free: 0.5703 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5.057e-05/0.1319, allocations: 8.484 kB / 1.025 GB, free: 0.5625 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/0.132, allocations: 86.19 kB / 1.025 GB, free: 488 kB / 0.9792 GB Notification: Performance of SimCode: time 1.182e-06/0.132, allocations: 0 / 1.025 GB, free: 488 kB / 0.9792 GB Notification: Performance of Templates: time 0.003426/0.1354, allocations: 1.596 MB / 1.026 GB, free: 14.92 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.3233791696839035]