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.0009314/0.0009314, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001033/0.001033, allocations: 169.3 kB / 24.28 MB, free: 276 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.9269/0.9269, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.827/1.827, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] 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.794e-06/1.794e-06, allocations: 0 / 0.8116 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.222e-05, allocations: 3.859 kB / 0.8116 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1169/0.1169, allocations: 144.6 MB / 0.9528 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.118, allocations: 1.176 MB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.355e-05/0.1181, allocations: 4 kB / 0.9539 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1184, allocations: 35.77 kB / 0.9539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.1189, allocations: 330.3 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1191, allocations: 171.2 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.1195, allocations: 227.2 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1196, allocations: 45.27 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.1196, allocations: 79.8 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.1197, allocations: 47.81 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1197, allocations: 12 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.12, allocations: 239.4 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.12, allocations: 27.91 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.1201, allocations: 47.84 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.1204, allocations: 231.2 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1204, allocations: 4 kB / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1204, allocations: 0 / 0.9553 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1204, allocations: 4 kB / 0.9553 GB, free: 14.27 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.0004697/0.1208, allocations: 499.6 kB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1209, allocations: 8.031 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/0.1212, allocations: 64.67 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1213, allocations: 146.8 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1214, allocations: 8.375 kB / 0.956 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.1214, allocations: 16.38 kB / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.1217, allocations: 114.1 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1217, allocations: 0 / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1217, allocations: 4 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1217, allocations: 4 kB / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/0.1218, allocations: 35.97 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.1222, allocations: 403.3 kB / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.356e-05/0.1223, allocations: 58.98 kB / 0.9566 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.1223, allocations: 31.78 kB / 0.9567 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1224, allocations: 7.938 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.1224, allocations: 33.39 kB / 0.9567 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1224, allocations: 0 / 0.9567 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001807/0.1226, allocations: 81.62 kB / 0.9568 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.1226, allocations: 51.41 kB / 0.9568 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1227, allocations: 207.8 kB / 0.957 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1227, allocations: 25.7 kB / 0.9571 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.1228, allocations: 170.6 kB / 0.9572 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.1228, allocations: 27.78 kB / 0.9573 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1228, allocations: 27.38 kB / 0.9573 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.1229, allocations: 0.4923 MB / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.37e-05/0.1229, allocations: 4 kB / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.123, allocations: 11.98 kB / 0.9578 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.28e-05/0.123, allocations: 32.16 kB / 0.9578 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.123, allocations: 7.938 kB / 0.9578 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.008e-05/0.1231, allocations: 77.61 kB / 0.9579 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1231, allocations: 4 kB / 0.9579 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1231, allocations: 0 / 0.9579 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1231, allocations: 4 kB / 0.9579 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.1232, allocations: 27.92 kB / 0.9579 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1232, allocations: 0 / 0.9579 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.1233, allocations: 11.89 kB / 0.9579 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.1233, allocations: 0 / 0.9579 GB, free: 11.41 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.01e-05/0.1233, allocations: 164.5 kB / 0.9581 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.1234, allocations: 11.94 kB / 0.9581 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.1235, allocations: 82.38 kB / 0.9582 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1235, allocations: 7.938 kB / 0.9582 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1235, allocations: 0 / 0.9582 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1235, allocations: 4 kB / 0.9582 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1236, allocations: 160.6 kB / 0.9583 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1236, allocations: 3.938 kB / 0.9584 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.1237, allocations: 12 kB / 0.9584 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1237, allocations: 0 / 0.9584 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1237, allocations: 4 kB / 0.9584 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1237, allocations: 3.984 kB / 0.9584 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1237, allocations: 0 / 0.9584 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.1238, allocations: 219.8 kB / 0.9586 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.1238, allocations: 15.83 kB / 0.9586 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1238, allocations: 0 / 0.9586 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.639e-05/0.1239, allocations: 4 kB / 0.9586 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.1239, allocations: 11.98 kB / 0.9586 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.1239, allocations: 0 / 0.9586 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.772e-05/0.124, allocations: 157 kB / 0.9588 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.124, allocations: 0 / 0.9588 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001594/0.1241, allocations: 27.89 kB / 0.9588 GB, free: 10.47 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.0001114/0.1242, allocations: 95.25 kB / 0.9589 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.954e-05/0.1243, allocations: 39.67 kB / 0.9589 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.1243, allocations: 4 kB / 0.9589 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.1244, allocations: 31.61 kB / 0.959 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.1246, allocations: 31.91 kB / 0.959 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.1252, allocations: 258.6 kB / 0.9592 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.79e-05/0.1253, allocations: 63.91 kB / 0.9593 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.359e-05/0.1253, allocations: 8.484 kB / 0.9593 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.1253, allocations: 12.5 kB / 0.9593 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.1253, allocations: 4 kB / 0.9593 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of Templates: time 0.003166/0.1285, allocations: 1.567 MB / 0.9608 GB, free: 8.348 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: 4.91202802490443]