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.000728/0.000728, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.00177, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006978/0.0006978, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009418/0.00164, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8747/0.8747, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07691/0.9516, 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 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.766/1.766, allocations: 378.3 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4122/2.178, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.012e-06/1.012e-06, allocations: 0 / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.769e-05, allocations: 6.203 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1211/0.1211, allocations: 144.7 MB / 0.871 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1223, allocations: 1.172 MB / 0.8721 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.671e-05/0.1224, allocations: 0 / 0.8721 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1227, allocations: 51.69 kB / 0.8722 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000625/0.1233, allocations: 306.4 kB / 0.8725 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.1236, allocations: 175.1 kB / 0.8726 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.124, allocations: 231.2 kB / 0.8729 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.666e-05/0.1241, allocations: 33.94 kB / 0.8729 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.1243, allocations: 131.8 kB / 0.873 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.1244, allocations: 39.89 kB / 0.8731 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1244, allocations: 12 kB / 0.8731 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.1246, allocations: 127.8 kB / 0.8732 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.1247, allocations: 35.86 kB / 0.8732 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.1247, allocations: 35.88 kB / 0.8733 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.125, allocations: 191.4 kB / 0.8734 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.125, allocations: 4 kB / 0.8734 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/0.125, allocations: 0 / 0.8734 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.125, allocations: 0 / 0.8734 GB, free: 0.8477 MB / 0.8386 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.0004795/0.1255, allocations: 399.6 kB / 0.8738 GB, free: 444 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1255, allocations: 8.031 kB / 0.8738 GB, free: 436 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003241/0.1259, allocations: 141.9 kB / 0.874 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.126, allocations: 139.6 kB / 0.8741 GB, free: 112 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1261, allocations: 12.38 kB / 0.8741 GB, free: 100 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1261, allocations: 8.375 kB / 0.8741 GB, free: 92 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1263, allocations: 102.2 kB / 0.8742 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1263, allocations: 0 / 0.8742 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1263, allocations: 11.98 kB / 0.8742 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1263, allocations: 0 / 0.8742 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.1263, allocations: 23.98 kB / 0.8743 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.1268, allocations: 275.8 kB / 0.8745 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.679e-05/0.1269, allocations: 42.55 kB / 0.8746 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.1269, allocations: 20.84 kB / 0.8746 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1269, allocations: 0 / 0.8746 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.1269, allocations: 34.55 kB / 0.8746 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1269, allocations: 0 / 0.8746 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.00016/0.1271, allocations: 65.56 kB / 0.8747 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.1271, allocations: 51.41 kB / 0.8747 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1272, allocations: 152.3 kB / 0.8749 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1273, allocations: 29.7 kB / 0.8749 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.1273, allocations: 111.9 kB / 0.875 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.1273, allocations: 19.8 kB / 0.875 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.1274, allocations: 29.69 kB / 0.8751 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.1275, allocations: 318.8 kB / 0.8754 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.1275, allocations: 8 kB / 0.8754 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.1275, allocations: 4 kB / 0.8754 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.1275, allocations: 24.84 kB / 0.8754 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1275, allocations: 4 kB / 0.8754 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.224e-05/0.1276, allocations: 73.53 kB / 0.8755 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1276, allocations: 7.281 kB / 0.8755 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1276, allocations: 0 / 0.8755 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1276, allocations: 0 / 0.8755 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.1277, allocations: 19.98 kB / 0.8755 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.1277, allocations: 0 / 0.8755 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.1278, allocations: 11.94 kB / 0.8755 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1278, allocations: 0 / 0.8755 GB, free: 14.57 MB / 0.8542 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.984e-05/0.1278, allocations: 112.7 kB / 0.8756 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1279, allocations: 15.92 kB / 0.8756 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.128, allocations: 74.39 kB / 0.8757 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.128, allocations: 0 / 0.8757 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.128, allocations: 0 / 0.8757 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.128, allocations: 7.922 kB / 0.8757 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.1281, allocations: 93.81 kB / 0.8758 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1281, allocations: 0 / 0.8758 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.1282, allocations: 15.98 kB / 0.8758 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.1282, allocations: 7.953 kB / 0.8758 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1282, allocations: 3.938 kB / 0.8758 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1282, allocations: 4 kB / 0.8758 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1282, allocations: 4 kB / 0.8758 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1282, allocations: 4 kB / 0.8758 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.523e-05/0.1283, allocations: 152.1 kB / 0.876 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1283, allocations: 7.938 kB / 0.876 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.484e-05/0.1283, allocations: 7.984 kB / 0.876 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.1284, allocations: 7.984 kB / 0.876 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1284, allocations: 0 / 0.876 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.1284, allocations: 29.77 kB / 0.876 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1284, allocations: 0 / 0.876 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001425/0.1285, allocations: 31.89 kB / 0.8761 GB, free: 13.95 MB / 0.8542 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.0001109/0.1287, allocations: 80.42 kB / 0.8761 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.777e-05/0.1287, allocations: 32.91 kB / 0.8762 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.1288, allocations: 4 kB / 0.8762 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/0.1288, allocations: 32.72 kB / 0.8762 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.1291, allocations: 184.4 kB / 0.8764 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1302, allocations: 263.6 kB / 0.8766 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.1302, allocations: 67.34 kB / 0.8767 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.293e-05/0.1303, allocations: 12.48 kB / 0.8767 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.1304, allocations: 71.36 kB / 0.8768 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of SimCode: time 3.166e-06/0.1304, allocations: 0 / 0.8768 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.003307/0.1337, allocations: 1.559 MB / 0.8783 GB, free: 11.61 MB / 0.8542 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange/Buildings_12_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: 4.542754859663546]