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.0009422/0.0009422, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.0009629/0.0009629, allocations: 177 kB / 24.08 MB, free: 416 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.9304/0.9304, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.743/1.743, allocations: 359 MB / 0.6055 GB, free: 10.85 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.784e-06/1.784e-06, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.557e-05, allocations: 6.844 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1211/0.1212, allocations: 142.1 MB / 0.9264 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1222, allocations: 1.164 MB / 0.9275 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.908e-05/0.1223, allocations: 4 kB / 0.9275 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.1226, allocations: 47.62 kB / 0.9276 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0005815/0.1232, allocations: 310.4 kB / 0.9279 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1235, allocations: 167.2 kB / 0.928 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.1238, allocations: 235.1 kB / 0.9283 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1239, allocations: 41.27 kB / 0.9283 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1241, allocations: 115.8 kB / 0.9284 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.1241, allocations: 43.83 kB / 0.9284 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1241, allocations: 12 kB / 0.9285 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1243, allocations: 127.7 kB / 0.9286 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.1243, allocations: 31.91 kB / 0.9286 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.1244, allocations: 39.91 kB / 0.9287 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1246, allocations: 211.3 kB / 0.9289 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1246, allocations: 7.984 kB / 0.9289 GB, free: 11 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1246, allocations: 0 / 0.9289 GB, free: 11 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1246, allocations: 0 / 0.9289 GB, free: 11 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.0004114/0.125, allocations: 487.6 kB / 0.9293 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1251, allocations: 8.031 kB / 0.9293 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.1253, allocations: 60.67 kB / 0.9294 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1255, allocations: 158.1 kB / 0.9295 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1255, allocations: 8.375 kB / 0.9295 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1255, allocations: 12.38 kB / 0.9296 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1256, allocations: 94.28 kB / 0.9297 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1256, allocations: 0 / 0.9297 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1256, allocations: 4 kB / 0.9297 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1256, allocations: 4 kB / 0.9297 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.1257, allocations: 34.31 kB / 0.9297 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.1261, allocations: 383.9 kB / 0.9301 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.702e-05/0.1262, allocations: 51.03 kB / 0.9301 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.1262, allocations: 27.78 kB / 0.9301 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1262, allocations: 3.984 kB / 0.9301 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.1262, allocations: 41.33 kB / 0.9302 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1262, allocations: 0 / 0.9302 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.000134/0.1263, allocations: 69.58 kB / 0.9302 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.1264, allocations: 55.41 kB / 0.9303 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.98e-05/0.1265, allocations: 211.2 kB / 0.9305 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.1265, allocations: 25.7 kB / 0.9305 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.1265, allocations: 174.6 kB / 0.9307 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.1265, allocations: 19.8 kB / 0.9307 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.1266, allocations: 31.34 kB / 0.9307 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1267, allocations: 0.4923 MB / 0.9312 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.1267, allocations: 4 kB / 0.9312 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.1269, allocations: 12.3 kB / 0.9312 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.1269, allocations: 31.77 kB / 0.9313 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1269, allocations: 4 kB / 0.9313 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.078e-05/0.127, allocations: 77.56 kB / 0.9313 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.127, allocations: 10.03 kB / 0.9313 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.127, allocations: 0 / 0.9313 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.127, allocations: 4 kB / 0.9314 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.1271, allocations: 15.98 kB / 0.9314 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.1271, allocations: 0 / 0.9314 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.1271, allocations: 7.953 kB / 0.9314 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.1271, allocations: 0 / 0.9314 GB, free: 8.23 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.343e-05/0.1272, allocations: 164.5 kB / 0.9315 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.1272, allocations: 11.89 kB / 0.9315 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.1273, allocations: 78.44 kB / 0.9316 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1273, allocations: 0 / 0.9316 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1273, allocations: 0 / 0.9316 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1273, allocations: 4 kB / 0.9316 GB, free: 7.957 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1275, allocations: 129.2 kB / 0.9317 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1275, allocations: 0 / 0.9317 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.1275, allocations: 8 kB / 0.9318 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1275, allocations: 4 kB / 0.9318 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1275, allocations: 7.938 kB / 0.9318 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.1275, allocations: 3.938 kB / 0.9318 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1275, allocations: 0 / 0.9318 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.1276, allocations: 219.8 kB / 0.932 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.1276, allocations: 11.89 kB / 0.932 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.1276, allocations: 7.938 kB / 0.932 GB, free: 7.527 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.1277, allocations: 8 kB / 0.932 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.1277, allocations: 7.922 kB / 0.932 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1277, allocations: 0 / 0.932 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.1278, allocations: 149.4 kB / 0.9322 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.1278, allocations: 0 / 0.9322 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001449/0.1279, allocations: 27.95 kB / 0.9322 GB, free: 7.34 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.933e-05/0.128, allocations: 99.19 kB / 0.9323 GB, free: 7.234 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.1281, allocations: 31.67 kB / 0.9323 GB, free: 7.199 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.1281, allocations: 4 kB / 0.9323 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.801e-05/0.1281, allocations: 35.59 kB / 0.9323 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.1283, allocations: 31.92 kB / 0.9324 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.1289, allocations: 255 kB / 0.9326 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.719e-05/0.1289, allocations: 67.89 kB / 0.9327 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.1289, allocations: 8.484 kB / 0.9327 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.129, allocations: 98.17 kB / 0.9328 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/0.129, allocations: 4 kB / 0.9328 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of Templates: time 0.003016/0.132, allocations: 1.554 MB / 0.9343 GB, free: 5.137 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.928470456041396]