Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009891/0.0009891, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009997/0.0009997, allocations: 169 kB / 23.82 MB, free: 0.7461 MB / 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.9425/0.9425, allocations: 177.1 MB / 204.2 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.713/1.713, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0.7656 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.978e-05/4.211e-05, allocations: 7.5 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.126/0.1261, allocations: 144.8 MB / 0.9286 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1273, allocations: 1.168 MB / 0.9297 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.1274, allocations: 4 kB / 0.9297 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.1278, allocations: 43.69 kB / 0.9298 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006793/0.1284, allocations: 314.4 kB / 0.9301 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.1288, allocations: 175.2 kB / 0.9302 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.1292, allocations: 231.1 kB / 0.9305 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1293, allocations: 45.27 kB / 0.9305 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1295, allocations: 115.8 kB / 0.9306 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.1295, allocations: 43.88 kB / 0.9307 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1296, allocations: 12 kB / 0.9307 GB, free: 9 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.1298, allocations: 123.8 kB / 0.9308 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1299, allocations: 27.91 kB / 0.9308 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.13, allocations: 43.84 kB / 0.9309 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.1302, allocations: 219.2 kB / 0.9311 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1303, allocations: 4 kB / 0.9311 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1303, allocations: 0 / 0.9311 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.1303, allocations: 0 / 0.9311 GB, free: 8.59 MB / 0.8855 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.0005255/0.1308, allocations: 487.7 kB / 0.9315 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1308, allocations: 8.031 kB / 0.9315 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.1311, allocations: 68.61 kB / 0.9316 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.1313, allocations: 154.3 kB / 0.9318 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1313, allocations: 8.375 kB / 0.9318 GB, free: 7.82 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.1314, allocations: 12.38 kB / 0.9318 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1315, allocations: 102.3 kB / 0.9319 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1315, allocations: 0 / 0.9319 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1316, allocations: 4 kB / 0.9319 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1316, allocations: 4 kB / 0.9319 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.285e-05/0.1316, allocations: 42.31 kB / 0.9319 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.1322, allocations: 403.3 kB / 0.9323 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1323, allocations: 63.03 kB / 0.9324 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.1323, allocations: 23.75 kB / 0.9324 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1323, allocations: 7.938 kB / 0.9324 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1324, allocations: 33.39 kB / 0.9324 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.1324, allocations: 0 / 0.9324 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0002006/0.1326, allocations: 81.61 kB / 0.9325 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.1326, allocations: 55.41 kB / 0.9326 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1327, allocations: 203.5 kB / 0.9328 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1327, allocations: 29.7 kB / 0.9328 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.1328, allocations: 174.6 kB / 0.933 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.1328, allocations: 23.8 kB / 0.933 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.1329, allocations: 23.38 kB / 0.933 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.133, allocations: 0.4923 MB / 0.9335 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.133, allocations: 11.98 kB / 0.9335 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.133, allocations: 8 kB / 0.9335 GB, free: 5.914 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.136e-05/0.1331, allocations: 36.14 kB / 0.9335 GB, free: 5.875 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1331, allocations: 3.938 kB / 0.9335 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000101/0.1332, allocations: 81.55 kB / 0.9336 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1332, allocations: 9.562 kB / 0.9336 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1332, allocations: 4 kB / 0.9336 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1332, allocations: 4 kB / 0.9336 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.1333, allocations: 19.98 kB / 0.9336 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1333, allocations: 0 / 0.9336 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.1334, allocations: 7.953 kB / 0.9337 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1334, allocations: 7.938 kB / 0.9337 GB, free: 5.734 MB / 0.8855 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.724e-05/0.1335, allocations: 164.5 kB / 0.9338 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.1335, allocations: 11.95 kB / 0.9338 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.1336, allocations: 78.39 kB / 0.9339 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1336, allocations: 0 / 0.9339 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1336, allocations: 0 / 0.9339 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1336, allocations: 4 kB / 0.9339 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.1338, allocations: 152.6 kB / 0.9341 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1338, allocations: 3.938 kB / 0.9341 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.1338, allocations: 15.98 kB / 0.9341 GB, free: 5.258 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1339, allocations: 0 / 0.9341 GB, free: 5.258 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1339, allocations: 8 kB / 0.9341 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1339, allocations: 0 / 0.9341 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1339, allocations: 0 / 0.9341 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.134, allocations: 223.8 kB / 0.9343 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.684e-05/0.134, allocations: 15.83 kB / 0.9343 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.134, allocations: 4 kB / 0.9343 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.23e-05/0.1341, allocations: 7.984 kB / 0.9343 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1341, allocations: 4 kB / 0.9343 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1341, allocations: 4 kB / 0.9343 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.1342, allocations: 148.8 kB / 0.9345 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1342, allocations: 0 / 0.9345 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001613/0.1344, allocations: 27.95 kB / 0.9345 GB, free: 4.805 MB / 0.8855 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.0001151/0.1345, allocations: 95.25 kB / 0.9346 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.1346, allocations: 47.59 kB / 0.9346 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1346, allocations: 4 kB / 0.9346 GB, free: 4.648 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.402e-05/0.1346, allocations: 23.69 kB / 0.9347 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.1349, allocations: 31.91 kB / 0.9347 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.1357, allocations: 262.4 kB / 0.9349 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.448e-05/0.1357, allocations: 63.34 kB / 0.935 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.512e-05/0.1358, allocations: 8.484 kB / 0.935 GB, free: 4.215 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.1358, allocations: 12.5 kB / 0.935 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of SimCode: time 1.683e-06/0.1358, allocations: 4 kB / 0.935 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of Templates: time 0.003492/0.1393, allocations: 1.522 MB / 0.9365 GB, free: 2.723 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.926041902974248]