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.001252/0.001252, allocations: 81.95 kB / 21.47 MB, free: 3.035 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.00145/0.00145, allocations: 169.7 kB / 24.87 MB, free: 8.883 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.9378/0.9378, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.73/1.73, allocations: 359 MB / 0.6063 GB, free: 10.88 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 1.212e-06/1.212e-06, allocations: 0 / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.739e-05, allocations: 4.984 kB / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1164/0.1164, allocations: 142.1 MB / 0.9272 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1174, allocations: 1.16 MB / 0.9283 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.437e-05/0.1175, allocations: 4 kB / 0.9283 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1178, allocations: 47.62 kB / 0.9283 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0005153/0.1183, allocations: 310.4 kB / 0.9286 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.1185, allocations: 171.2 kB / 0.9288 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.1189, allocations: 227.2 kB / 0.929 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.119, allocations: 45.25 kB / 0.9291 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1191, allocations: 123.8 kB / 0.9292 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.1191, allocations: 43.88 kB / 0.9292 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1192, allocations: 12 kB / 0.9292 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.1193, allocations: 123.7 kB / 0.9293 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.1194, allocations: 31.91 kB / 0.9294 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.1194, allocations: 43.84 kB / 0.9294 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.1196, allocations: 211.3 kB / 0.9296 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1196, allocations: 0 / 0.9296 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1196, allocations: 0 / 0.9296 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1196, allocations: 0 / 0.9296 GB, free: 11.04 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.0004182/0.1201, allocations: 491.6 kB / 0.9301 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.1201, allocations: 8.031 kB / 0.9301 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.1203, allocations: 60.67 kB / 0.9302 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1205, allocations: 148.4 kB / 0.9303 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1205, allocations: 12.36 kB / 0.9303 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1205, allocations: 8.375 kB / 0.9303 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1206, allocations: 102.2 kB / 0.9304 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1206, allocations: 0 / 0.9304 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1206, allocations: 4 kB / 0.9304 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1206, allocations: 7.938 kB / 0.9304 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.051e-05/0.1207, allocations: 34.31 kB / 0.9305 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.1211, allocations: 379.9 kB / 0.9308 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.518e-05/0.1211, allocations: 54.98 kB / 0.9309 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.1212, allocations: 27.78 kB / 0.9309 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1212, allocations: 4 kB / 0.9309 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.1212, allocations: 41.33 kB / 0.9309 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.1212, allocations: 0 / 0.9309 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0001391/0.1213, allocations: 69.62 kB / 0.931 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.1214, allocations: 51.41 kB / 0.9311 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.1214, allocations: 207.5 kB / 0.9313 GB, free: 9.203 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002555/0.1217, allocations: 25.7 kB / 0.9313 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.1218, allocations: 166.6 kB / 0.9314 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.1218, allocations: 27.77 kB / 0.9315 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.1218, allocations: 31.31 kB / 0.9315 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.1219, allocations: 0.4962 MB / 0.932 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.1219, allocations: 4 kB / 0.932 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.1219, allocations: 7.984 kB / 0.932 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.122, allocations: 31.67 kB / 0.932 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.122, allocations: 0 / 0.932 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.165e-05/0.1221, allocations: 74.05 kB / 0.9321 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1221, allocations: 4 kB / 0.9321 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1221, allocations: 0 / 0.9321 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.126e-06/0.1221, allocations: 4 kB / 0.9321 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.1222, allocations: 19.92 kB / 0.9321 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.1222, allocations: 4 kB / 0.9321 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.1222, allocations: 11.95 kB / 0.9321 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1222, allocations: 0 / 0.9321 GB, free: 8.262 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 6.531e-05/0.1223, allocations: 160.6 kB / 0.9323 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.1223, allocations: 11.89 kB / 0.9323 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.1224, allocations: 86.48 kB / 0.9324 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1224, allocations: 0 / 0.9324 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1224, allocations: 3.938 kB / 0.9324 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1224, allocations: 0 / 0.9324 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.1225, allocations: 129.1 kB / 0.9325 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1225, allocations: 0 / 0.9325 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.1226, allocations: 16 kB / 0.9325 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1226, allocations: 0 / 0.9325 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1226, allocations: 11.94 kB / 0.9325 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.1226, allocations: 0 / 0.9325 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1226, allocations: 0 / 0.9325 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.1227, allocations: 215.8 kB / 0.9327 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.1227, allocations: 15.88 kB / 0.9328 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.1227, allocations: 3.938 kB / 0.9328 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.395e-05/0.1228, allocations: 3.938 kB / 0.9328 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.1228, allocations: 11.98 kB / 0.9328 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1228, allocations: 4 kB / 0.9328 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.481e-05/0.1228, allocations: 145.2 kB / 0.9329 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1228, allocations: 0 / 0.9329 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001548/0.123, allocations: 27.95 kB / 0.9329 GB, free: 7.367 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 8.185e-05/0.1231, allocations: 95.25 kB / 0.933 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.818e-05/0.1231, allocations: 35.66 kB / 0.9331 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.1231, allocations: 0 / 0.9331 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.1232, allocations: 27.61 kB / 0.9331 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.1234, allocations: 35.92 kB / 0.9331 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.1239, allocations: 262.3 kB / 0.9334 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.124, allocations: 63.34 kB / 0.9334 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.124, allocations: 12.48 kB / 0.9334 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.894e-05/0.1241, allocations: 98.17 kB / 0.9335 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of SimCode: time 5.81e-07/0.1241, allocations: 0 / 0.9335 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of Templates: time 0.002882/0.127, allocations: 1.586 MB / 0.9351 GB, free: 5.145 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.86197968525812]