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.0009663/0.0009663, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001624/0.001624, allocations: 161 kB / 24.17 MB, free: 332 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.9412/0.9412, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.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.862/1.862, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 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.522e-06/1.522e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.029e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1248/0.1248, allocations: 144.2 MB / 0.9009 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1259, allocations: 1.183 MB / 0.9021 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.273e-05/0.126, allocations: 4 kB / 0.9021 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1264, allocations: 43.64 kB / 0.9021 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005744/0.1269, allocations: 318.4 kB / 0.9024 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1272, allocations: 167.2 kB / 0.9026 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.1275, allocations: 223.2 kB / 0.9028 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1276, allocations: 53.86 kB / 0.9028 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1277, allocations: 111.8 kB / 0.9029 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.1278, allocations: 43.83 kB / 0.903 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1278, allocations: 12 kB / 0.903 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1279, allocations: 123.8 kB / 0.9031 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.128, allocations: 27.92 kB / 0.9031 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.128, allocations: 43.89 kB / 0.9032 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.1283, allocations: 215.2 kB / 0.9034 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1283, allocations: 3.984 kB / 0.9034 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1283, allocations: 4 kB / 0.9034 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.1283, allocations: 0 / 0.9034 GB, free: 3.504 MB / 0.8542 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.000388/0.1287, allocations: 360 kB / 0.9037 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1287, allocations: 8.031 kB / 0.9037 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.129, allocations: 56.81 kB / 0.9038 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.1293, allocations: 141.5 kB / 0.9039 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1293, allocations: 12.38 kB / 0.9039 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.1293, allocations: 12.38 kB / 0.904 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1294, allocations: 102.2 kB / 0.9041 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1295, allocations: 0 / 0.9041 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1295, allocations: 4 kB / 0.9041 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1295, allocations: 4 kB / 0.9041 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.1295, allocations: 23.98 kB / 0.9041 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.1299, allocations: 271.8 kB / 0.9043 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.744e-05/0.1299, allocations: 46.56 kB / 0.9044 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.1299, allocations: 8.859 kB / 0.9044 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.13, allocations: 4 kB / 0.9044 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.13, allocations: 30.56 kB / 0.9044 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.13, allocations: 3.938 kB / 0.9044 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001239/0.1301, allocations: 73.55 kB / 0.9045 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.1301, allocations: 55.39 kB / 0.9046 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.1302, allocations: 140.1 kB / 0.9047 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.1302, allocations: 25.7 kB / 0.9047 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.1303, allocations: 119.8 kB / 0.9048 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.1303, allocations: 23.8 kB / 0.9048 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1303, allocations: 25.69 kB / 0.9049 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.1304, allocations: 318.8 kB / 0.9052 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.1304, allocations: 7.984 kB / 0.9052 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.1304, allocations: 8 kB / 0.9052 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.1304, allocations: 28.83 kB / 0.9052 GB, free: 1.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1304, allocations: 3.938 kB / 0.9052 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.574e-05/0.1305, allocations: 65.61 kB / 0.9053 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.1305, allocations: 4 kB / 0.9053 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1305, allocations: 0 / 0.9053 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1305, allocations: 0 / 0.9053 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.1306, allocations: 19.98 kB / 0.9053 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.1306, allocations: 0.5469 kB / 0.9053 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.1306, allocations: 4 kB / 0.9053 GB, free: 1.379 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1306, allocations: 0 / 0.9053 GB, free: 1.379 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.693e-05/0.1307, allocations: 120.6 kB / 0.9054 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.1307, allocations: 11.92 kB / 0.9054 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.352e-05/0.1308, allocations: 70.44 kB / 0.9055 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1308, allocations: 0 / 0.9055 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1308, allocations: 0 / 0.9055 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1308, allocations: 0 / 0.9055 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.1309, allocations: 109.8 kB / 0.9056 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1309, allocations: 0 / 0.9056 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.131, allocations: 15.98 kB / 0.9056 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.131, allocations: 0 / 0.9056 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.131, allocations: 3.938 kB / 0.9056 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.131, allocations: 4 kB / 0.9056 GB, free: 1.016 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.131, allocations: 0 / 0.9056 GB, free: 1.016 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.379e-05/0.131, allocations: 159.5 kB / 0.9058 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.1311, allocations: 7.891 kB / 0.9058 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1311, allocations: 15.88 kB / 0.9058 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.1311, allocations: 0 / 0.9058 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.1311, allocations: 11.98 kB / 0.9058 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1311, allocations: 0 / 0.9058 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.1312, allocations: 39.44 kB / 0.9059 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1312, allocations: 0 / 0.9059 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001302/0.1313, allocations: 23.95 kB / 0.9059 GB, free: 0.7461 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 8.69e-05/0.1314, allocations: 80.42 kB / 0.906 GB, free: 0.6602 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.706e-05/0.1315, allocations: 40.78 kB / 0.906 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1315, allocations: 0 / 0.906 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/0.1315, allocations: 20.84 kB / 0.906 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.1317, allocations: 31.97 kB / 0.906 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.1322, allocations: 259.5 kB / 0.9063 GB, free: 288 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.1322, allocations: 71.34 kB / 0.9064 GB, free: 196 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.894e-05/0.1322, allocations: 12.47 kB / 0.9064 GB, free: 180 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.1323, allocations: 71.36 kB / 0.9064 GB, free: 108 kB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.1323, allocations: 0 / 0.9064 GB, free: 108 kB / 0.8542 GB Notification: Performance of Templates: time 0.00282/0.1351, allocations: 1.502 MB / 0.9079 GB, free: 14.65 MB / 0.8698 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.949365000706166]