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.001015/0.001015, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002555, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000989/0.000989, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009463/0.001935, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9469/0.9469, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08757/1.034, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.38/2.38, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2346/2.614, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.753e-05, allocations: 2.312 kB / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.123/0.123, allocations: 144.7 MB / 0.9603 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1241, allocations: 1.18 MB / 0.9614 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.1242, allocations: 4 kB / 0.9614 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.1243, allocations: 43.64 kB / 0.9615 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.1248, allocations: 318.3 kB / 0.9618 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1251, allocations: 171.2 kB / 0.962 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.1253, allocations: 211.3 kB / 0.9622 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.781e-05/0.1254, allocations: 45.88 kB / 0.9622 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1255, allocations: 131.8 kB / 0.9623 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.1256, allocations: 43.83 kB / 0.9624 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1256, allocations: 12 kB / 0.9624 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.1258, allocations: 131.7 kB / 0.9625 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.1258, allocations: 23.94 kB / 0.9625 GB, free: 14.87 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.1259, allocations: 31.94 kB / 0.9626 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1261, allocations: 195.3 kB / 0.9627 GB, free: 14.65 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.1261, allocations: 0 / 0.9627 GB, free: 14.65 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1261, allocations: 0 / 0.9627 GB, free: 14.65 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.1261, allocations: 0 / 0.9627 GB, free: 14.65 MB / 0.948 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.0003545/0.1264, allocations: 407.6 kB / 0.9631 GB, free: 14.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.1265, allocations: 12.03 kB / 0.9631 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.1267, allocations: 129.9 kB / 0.9633 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1269, allocations: 145.2 kB / 0.9634 GB, free: 13.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-06/0.1269, allocations: 8 kB / 0.9634 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1269, allocations: 12 kB / 0.9634 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.468e-05/0.127, allocations: 98.33 kB / 0.9635 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-06/0.127, allocations: 0 / 0.9635 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.127, allocations: 4 kB / 0.9635 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.127, allocations: 4 kB / 0.9635 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.779e-05/0.127, allocations: 30.11 kB / 0.9636 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.1273, allocations: 259.8 kB / 0.9638 GB, free: 13.47 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.1274, allocations: 50.48 kB / 0.9638 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.1274, allocations: 12.86 kB / 0.9639 GB, free: 13.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1274, allocations: 8 kB / 0.9639 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.1274, allocations: 30.56 kB / 0.9639 GB, free: 13.35 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.1274, allocations: 3.938 kB / 0.9639 GB, free: 13.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0001162/0.1275, allocations: 61.67 kB / 0.964 GB, free: 13.28 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.1275, allocations: 55.41 kB / 0.964 GB, free: 13.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.1276, allocations: 142.6 kB / 0.9641 GB, free: 13.06 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.1276, allocations: 25.7 kB / 0.9642 GB, free: 13.03 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.1277, allocations: 119.9 kB / 0.9643 GB, free: 12.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.1277, allocations: 23.75 kB / 0.9643 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.1277, allocations: 21.7 kB / 0.9643 GB, free: 12.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.1278, allocations: 330.8 kB / 0.9646 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.1278, allocations: 4 kB / 0.9647 GB, free: 12.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.342e-05/0.1278, allocations: 12.3 kB / 0.9647 GB, free: 12.51 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.1278, allocations: 32.92 kB / 0.9647 GB, free: 12.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1278, allocations: 0 / 0.9647 GB, free: 12.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.113e-05/0.1279, allocations: 61.66 kB / 0.9648 GB, free: 12.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.1279, allocations: 8 kB / 0.9648 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1279, allocations: 0 / 0.9648 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.597e-06/0.1279, allocations: 0 / 0.9648 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.128, allocations: 12 kB / 0.9648 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.128, allocations: 4 kB / 0.9648 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.128, allocations: 11.92 kB / 0.9648 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.128, allocations: 8 kB / 0.9648 GB, free: 12.37 MB / 0.948 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 5.668e-05/0.1281, allocations: 120.5 kB / 0.9649 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.1281, allocations: 11.98 kB / 0.9649 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.402e-05/0.1282, allocations: 62.45 kB / 0.965 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1282, allocations: 0 / 0.965 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1282, allocations: 4 kB / 0.965 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1282, allocations: 0 / 0.965 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.1285, allocations: 97.84 kB / 0.9651 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1285, allocations: 3.938 kB / 0.9651 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.1286, allocations: 23.92 kB / 0.9651 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.1286, allocations: 15.89 kB / 0.9651 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1286, allocations: 0 / 0.9651 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-06/0.1286, allocations: 0 / 0.9651 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1286, allocations: 0 / 0.9651 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1286, allocations: 0 / 0.9651 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.683e-05/0.1287, allocations: 159.5 kB / 0.9653 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.1287, allocations: 0 / 0.9653 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.903e-05/0.1287, allocations: 4 kB / 0.9653 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.1288, allocations: 7.984 kB / 0.9653 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.1288, allocations: 4 kB / 0.9653 GB, free: 11.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.458e-05/0.1288, allocations: 35.27 kB / 0.9653 GB, free: 11.78 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1288, allocations: 3.938 kB / 0.9653 GB, free: 11.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001192/0.1289, allocations: 23.94 kB / 0.9653 GB, free: 11.75 MB / 0.948 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 8.744e-05/0.129, allocations: 84.34 kB / 0.9654 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.485e-05/0.1291, allocations: 36.84 kB / 0.9655 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1291, allocations: 0 / 0.9655 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.1291, allocations: 20.86 kB / 0.9655 GB, free: 11.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.1293, allocations: 187.5 kB / 0.9657 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1303, allocations: 267.7 kB / 0.9659 GB, free: 11.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.1304, allocations: 71.89 kB / 0.966 GB, free: 11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.694e-05/0.1304, allocations: 4.5 kB / 0.966 GB, free: 11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.1305, allocations: 67.36 kB / 0.9661 GB, free: 10.93 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/0.1305, allocations: 0 / 0.9661 GB, free: 10.93 MB / 0.948 GB Notification: Performance of Templates: time 0.002964/0.1334, allocations: 1.559 MB / 0.9676 GB, free: 9.414 MB / 0.948 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.198295118287206]