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.0008844/0.0008844, allocations: 87.58 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.000962/0.000962, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.015/1.015, allocations: 177.1 MB / 204.2 MB, free: 5.266 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.829/1.829, allocations: 359 MB / 0.6052 GB, free: 11.02 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.014e-06/2.014e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.305e-05, allocations: 5.641 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1448/0.1449, allocations: 144.8 MB / 0.9286 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1461, allocations: 1.172 MB / 0.9297 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.1462, allocations: 4 kB / 0.9297 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.1466, allocations: 43.69 kB / 0.9298 GB, free: 9.918 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.1473, allocations: 314.3 kB / 0.9301 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.1475, allocations: 167.2 kB / 0.9302 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.1479, allocations: 231.1 kB / 0.9305 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.148, allocations: 49.25 kB / 0.9305 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.1481, allocations: 75.8 kB / 0.9306 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.1482, allocations: 51.81 kB / 0.9306 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1482, allocations: 16 kB / 0.9306 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.1485, allocations: 227.4 kB / 0.9309 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.1485, allocations: 31.91 kB / 0.9309 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.1486, allocations: 39.91 kB / 0.9309 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.1489, allocations: 239.2 kB / 0.9311 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.1489, allocations: 4 kB / 0.9312 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1489, allocations: 0 / 0.9312 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1489, allocations: 0 / 0.9312 GB, free: 8.496 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.0005243/0.1494, allocations: 495.6 kB / 0.9316 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1495, allocations: 8.031 kB / 0.9316 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.1498, allocations: 68.73 kB / 0.9317 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.15, allocations: 156.3 kB / 0.9318 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.15, allocations: 8.375 kB / 0.9319 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1501, allocations: 8.375 kB / 0.9319 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1502, allocations: 106.2 kB / 0.932 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1503, allocations: 0 / 0.932 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1503, allocations: 4 kB / 0.932 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1503, allocations: 8 kB / 0.932 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.1504, allocations: 42.31 kB / 0.932 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.1509, allocations: 411.3 kB / 0.9324 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.151, allocations: 62.98 kB / 0.9325 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.151, allocations: 19.69 kB / 0.9325 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.151, allocations: 3.938 kB / 0.9325 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1511, allocations: 37.45 kB / 0.9325 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.1511, allocations: 8 kB / 0.9325 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0001985/0.1513, allocations: 77.67 kB / 0.9326 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.1513, allocations: 51.41 kB / 0.9327 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1514, allocations: 199.6 kB / 0.9328 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.1514, allocations: 25.7 kB / 0.9329 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.1515, allocations: 174.6 kB / 0.933 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.1515, allocations: 23.8 kB / 0.9331 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.1515, allocations: 27.31 kB / 0.9331 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1517, allocations: 0.4923 MB / 0.9336 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.1517, allocations: 11.98 kB / 0.9336 GB, free: 5.812 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.1517, allocations: 8 kB / 0.9336 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.1518, allocations: 43.67 kB / 0.9336 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1518, allocations: 3.938 kB / 0.9336 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001005/0.1519, allocations: 65.66 kB / 0.9337 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1519, allocations: 7.984 kB / 0.9337 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1519, allocations: 4 kB / 0.9337 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1519, allocations: 0 / 0.9337 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.152, allocations: 15.94 kB / 0.9337 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.152, allocations: 0.5469 kB / 0.9337 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.152, allocations: 15.88 kB / 0.9337 GB, free: 5.641 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1521, allocations: 0 / 0.9337 GB, free: 5.641 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.413e-05/0.1521, allocations: 168.5 kB / 0.9339 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.1522, allocations: 7.953 kB / 0.9339 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.1523, allocations: 90.41 kB / 0.934 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1523, allocations: 4 kB / 0.934 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1523, allocations: 3.938 kB / 0.934 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1523, allocations: 0 / 0.934 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.1524, allocations: 152.6 kB / 0.9341 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1525, allocations: 7.875 kB / 0.9342 GB, free: 5.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.1525, allocations: 15.98 kB / 0.9342 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1525, allocations: 0 / 0.9342 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1525, allocations: 4 kB / 0.9342 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1525, allocations: 4 kB / 0.9342 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1525, allocations: 4 kB / 0.9342 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.1527, allocations: 219.8 kB / 0.9344 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.1527, allocations: 15.88 kB / 0.9344 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1527, allocations: 4 kB / 0.9344 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.169e-05/0.1527, allocations: 7.938 kB / 0.9344 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1528, allocations: 3.984 kB / 0.9344 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1528, allocations: 4 kB / 0.9344 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.411e-05/0.1529, allocations: 148.9 kB / 0.9346 GB, free: 4.719 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1529, allocations: 0 / 0.9346 GB, free: 4.719 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001593/0.153, allocations: 31.89 kB / 0.9346 GB, free: 4.688 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.0001384/0.1532, allocations: 107.2 kB / 0.9347 GB, free: 4.574 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.1533, allocations: 35.67 kB / 0.9347 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1533, allocations: 0 / 0.9347 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.1533, allocations: 31.61 kB / 0.9348 GB, free: 4.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1535, allocations: 31.86 kB / 0.9348 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.1542, allocations: 254.5 kB / 0.935 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.024e-05/0.1543, allocations: 67.33 kB / 0.9351 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.84e-05/0.1543, allocations: 8.5 kB / 0.9351 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.1544, allocations: 12.5 kB / 0.9351 GB, free: 4.086 MB / 0.8855 GB Notification: Performance of SimCode: time 1.433e-06/0.1544, allocations: 0 / 0.9351 GB, free: 4.086 MB / 0.8855 GB Notification: Performance of Templates: time 0.003734/0.1581, allocations: 1.57 MB / 0.9367 GB, free: 2.566 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: 5.434840961359441]