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.001055/0.001055, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001251/0.001251, allocations: 169 kB / 24.28 MB, free: 276 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.9712/0.9712, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.828/1.828, allocations: 359 MB / 0.6055 GB, free: 10.97 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.994e-06/1.994e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.887e-05, allocations: 5.406 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1422/0.1422, allocations: 144.6 MB / 0.9283 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1435, allocations: 1.172 MB / 0.9295 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1436, allocations: 8 kB / 0.9295 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.1439, allocations: 39.7 kB / 0.9295 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0006863/0.1446, allocations: 318.4 kB / 0.9298 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.145, allocations: 183.2 kB / 0.93 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.1454, allocations: 235.1 kB / 0.9302 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1455, allocations: 41.27 kB / 0.9303 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.1456, allocations: 75.86 kB / 0.9303 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.1457, allocations: 47.81 kB / 0.9304 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1457, allocations: 12 kB / 0.9304 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.146, allocations: 239.4 kB / 0.9306 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.1461, allocations: 31.91 kB / 0.9306 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.1461, allocations: 47.84 kB / 0.9307 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.1465, allocations: 231.2 kB / 0.9309 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1465, allocations: 0 / 0.9309 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1465, allocations: 0 / 0.9309 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1465, allocations: 0 / 0.9309 GB, free: 9.051 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.000604/0.1471, allocations: 0.4917 MB / 0.9314 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1472, allocations: 8.031 kB / 0.9314 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.1476, allocations: 64.73 kB / 0.9315 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.1478, allocations: 156.3 kB / 0.9316 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1478, allocations: 8.375 kB / 0.9316 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.1478, allocations: 8.375 kB / 0.9316 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.148, allocations: 104.5 kB / 0.9317 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.148, allocations: 0 / 0.9317 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.148, allocations: 7.922 kB / 0.9317 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.148, allocations: 8 kB / 0.9317 GB, free: 8.133 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.922e-05/0.1481, allocations: 43.92 kB / 0.9318 GB, free: 8.09 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.1486, allocations: 399.3 kB / 0.9322 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1487, allocations: 59.05 kB / 0.9322 GB, free: 7.594 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.1488, allocations: 31.72 kB / 0.9323 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1488, allocations: 7.938 kB / 0.9323 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.1488, allocations: 33.39 kB / 0.9323 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.1488, allocations: 0 / 0.9323 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0002048/0.149, allocations: 85.62 kB / 0.9324 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1491, allocations: 51.41 kB / 0.9324 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1492, allocations: 204 kB / 0.9326 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1492, allocations: 25.7 kB / 0.9326 GB, free: 7.109 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.1493, allocations: 166.7 kB / 0.9328 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.1493, allocations: 27.78 kB / 0.9328 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.1493, allocations: 23.38 kB / 0.9329 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1495, allocations: 0.4923 MB / 0.9333 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.253e-05/0.1495, allocations: 11.94 kB / 0.9333 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.1495, allocations: 11.98 kB / 0.9334 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.252e-05/0.1496, allocations: 36.14 kB / 0.9334 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1496, allocations: 7.938 kB / 0.9334 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001116/0.1497, allocations: 81.56 kB / 0.9335 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1497, allocations: 4 kB / 0.9335 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1497, allocations: 0 / 0.9335 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1497, allocations: 4 kB / 0.9335 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.1498, allocations: 19.92 kB / 0.9335 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1498, allocations: 0 / 0.9335 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.1499, allocations: 11.89 kB / 0.9335 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1499, allocations: 4 kB / 0.9335 GB, free: 6.18 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.846e-05/0.15, allocations: 160.5 kB / 0.9337 GB, free: 6.012 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.15, allocations: 15.94 kB / 0.9337 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.1501, allocations: 78.45 kB / 0.9338 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.1501, allocations: 0 / 0.9338 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1501, allocations: 0 / 0.9338 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1501, allocations: 4 kB / 0.9338 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.1503, allocations: 152.6 kB / 0.9339 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1503, allocations: 7.875 kB / 0.9339 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.1503, allocations: 15.98 kB / 0.9339 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1503, allocations: 0 / 0.9339 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1504, allocations: 0 / 0.9339 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1504, allocations: 0 / 0.9339 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1504, allocations: 4 kB / 0.9339 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.1505, allocations: 227.8 kB / 0.9342 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.1505, allocations: 15.89 kB / 0.9342 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1505, allocations: 4 kB / 0.9342 GB, free: 5.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.487e-05/0.1506, allocations: 3.984 kB / 0.9342 GB, free: 5.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.1506, allocations: 7.938 kB / 0.9342 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.1506, allocations: 4 kB / 0.9342 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.188e-05/0.1507, allocations: 152.8 kB / 0.9343 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1507, allocations: 0 / 0.9343 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002431/0.1509, allocations: 31.89 kB / 0.9344 GB, free: 5.238 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.0003172/0.1513, allocations: 99.25 kB / 0.9345 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.1514, allocations: 43.66 kB / 0.9345 GB, free: 5.086 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1514, allocations: 0 / 0.9345 GB, free: 5.086 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.1514, allocations: 23.62 kB / 0.9345 GB, free: 5.059 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.1517, allocations: 43.84 kB / 0.9346 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.1524, allocations: 254.5 kB / 0.9348 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.97e-05/0.1525, allocations: 67.28 kB / 0.9349 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.515e-05/0.1525, allocations: 12.48 kB / 0.9349 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.1526, allocations: 16.5 kB / 0.9349 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of SimCode: time 1.042e-06/0.1526, allocations: 0 / 0.9349 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of Templates: time 0.003537/0.1561, allocations: 1.559 MB / 0.9364 GB, free: 3.109 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.315295381937176]