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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00238/0.00238, allocations: 195.7 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.768/2.768, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002001/0.002001, allocations: 72.12 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6917, allocations: 168.7 MB / 1.274 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1709/0.8626, allocations: 149.5 MB / 1.42 GB, free: 14.31 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.8642, allocations: 1.145 MB / 1.421 GB, free: 13.16 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.8643, allocations: 4 kB / 1.421 GB, free: 13.16 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.8646, allocations: 63.66 kB / 1.421 GB, free: 13.1 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.000705/0.8653, allocations: 310.6 kB / 1.422 GB, free: 12.79 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.8656, allocations: 171.3 kB / 1.422 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.866, allocations: 215.4 kB / 1.422 GB, free: 12.41 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.8662, allocations: 55.69 kB / 1.422 GB, free: 12.36 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/0.8662, allocations: 55.78 kB / 1.422 GB, free: 12.31 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.8663, allocations: 51.77 kB / 1.422 GB, free: 12.26 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.8663, allocations: 12 kB / 1.422 GB, free: 12.25 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.8669, allocations: 383.2 kB / 1.422 GB, free: 11.87 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.867, allocations: 31.86 kB / 1.422 GB, free: 11.84 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.8671, allocations: 67.67 kB / 1.423 GB, free: 11.77 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.8675, allocations: 291 kB / 1.423 GB, free: 11.49 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.8675, allocations: 0 / 1.423 GB, free: 11.49 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8675, allocations: 7.875 kB / 1.423 GB, free: 11.48 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.8675, allocations: 0 / 1.423 GB, free: 11.48 MB / 1.123 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.000696/0.8682, allocations: 470.5 kB / 1.423 GB, free: 10.97 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.8682, allocations: 8.031 kB / 1.423 GB, free: 10.96 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.8685, allocations: 44.81 kB / 1.423 GB, free: 10.92 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.8688, allocations: 204.2 kB / 1.423 GB, free: 10.68 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.8688, allocations: 11.94 kB / 1.424 GB, free: 10.67 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.8688, allocations: 12 kB / 1.424 GB, free: 10.66 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.8691, allocations: 124.1 kB / 1.424 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.8691, allocations: 4 kB / 1.424 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8692, allocations: 0 / 1.424 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.8692, allocations: 4 kB / 1.424 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.8694, allocations: 95.94 kB / 1.424 GB, free: 10.43 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/0.8701, allocations: 456.2 kB / 1.424 GB, free: 9.938 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.8703, allocations: 90.48 kB / 1.424 GB, free: 9.84 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.8705, allocations: 36.95 kB / 1.424 GB, free: 9.801 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.8705, allocations: 0 / 1.424 GB, free: 9.801 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.8705, allocations: 34.55 kB / 1.424 GB, free: 9.758 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.8705, allocations: 4 kB / 1.424 GB, free: 9.754 MB / 1.123 GB Notification: Performance of matching and sorting (n=7): time 0.0004575/0.871, allocations: 145.5 kB / 1.424 GB, free: 9.605 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.871, allocations: 51.41 kB / 1.425 GB, free: 9.543 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.8712, allocations: 190.3 kB / 1.425 GB, free: 9.348 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.8712, allocations: 29.64 kB / 1.425 GB, free: 9.312 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.8713, allocations: 112.1 kB / 1.425 GB, free: 9.199 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.8713, allocations: 27.73 kB / 1.425 GB, free: 9.172 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.8714, allocations: 17.72 kB / 1.425 GB, free: 9.148 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8715, allocations: 330.8 kB / 1.425 GB, free: 8.816 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.8716, allocations: 43.89 kB / 1.425 GB, free: 8.773 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.8717, allocations: 31.98 kB / 1.425 GB, free: 8.742 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.872, allocations: 76.81 kB / 1.425 GB, free: 8.664 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.872, allocations: 0 / 1.425 GB, free: 8.664 MB / 1.123 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002893/0.8722, allocations: 113.6 kB / 1.425 GB, free: 8.547 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.8723, allocations: 8 kB / 1.425 GB, free: 8.539 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.8723, allocations: 0 / 1.425 GB, free: 8.539 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.8723, allocations: 0 / 1.425 GB, free: 8.539 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.8724, allocations: 23.92 kB / 1.425 GB, free: 8.516 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.8724, allocations: 0 / 1.425 GB, free: 8.516 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.8725, allocations: 15.88 kB / 1.425 GB, free: 8.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.8725, allocations: 4 kB / 1.425 GB, free: 8.496 MB / 1.123 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 0.0001008/0.8726, allocations: 121.8 kB / 1.426 GB, free: 8.367 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.8727, allocations: 19.91 kB / 1.426 GB, free: 8.348 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.873, allocations: 127 kB / 1.426 GB, free: 8.215 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.873, allocations: 0 / 1.426 GB, free: 8.215 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.873, allocations: 3.984 kB / 1.426 GB, free: 8.211 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.873, allocations: 0 / 1.426 GB, free: 8.211 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.8733, allocations: 221.5 kB / 1.426 GB, free: 7.945 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8733, allocations: 4 kB / 1.426 GB, free: 7.941 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.8734, allocations: 15.98 kB / 1.426 GB, free: 7.926 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.8734, allocations: 4 kB / 1.426 GB, free: 7.922 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.8734, allocations: 0 / 1.426 GB, free: 7.922 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8734, allocations: 0 / 1.426 GB, free: 7.922 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8734, allocations: 0 / 1.426 GB, free: 7.922 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.8737, allocations: 219.3 kB / 1.426 GB, free: 7.691 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.8738, allocations: 85.06 kB / 1.426 GB, free: 7.59 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.8738, allocations: 4 kB / 1.426 GB, free: 7.586 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.8739, allocations: 11.98 kB / 1.426 GB, free: 7.574 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.874, allocations: 4 kB / 1.426 GB, free: 7.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.874, allocations: 0 / 1.426 GB, free: 7.57 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001293/0.8741, allocations: 140.2 kB / 1.426 GB, free: 7.434 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.8741, allocations: 0 / 1.426 GB, free: 7.434 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002632/0.8744, allocations: 23.89 kB / 1.426 GB, free: 7.41 MB / 1.123 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.000152/0.8745, allocations: 107.8 kB / 1.427 GB, free: 7.297 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.8748, allocations: 88.5 kB / 1.427 GB, free: 7.211 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8748, allocations: 3.938 kB / 1.427 GB, free: 7.207 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.8749, allocations: 35.92 kB / 1.427 GB, free: 7.172 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.8753, allocations: 41.94 kB / 1.427 GB, free: 7.133 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.8758, allocations: 271.2 kB / 1.427 GB, free: 6.844 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.8762, allocations: 0.7041 MB / 1.428 GB, free: 6.113 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 6.062e-05/0.8762, allocations: 16.81 kB / 1.428 GB, free: 6.098 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.8763, allocations: 15.44 kB / 1.428 GB, free: 6.082 MB / 1.123 GB Notification: Performance of SimCode: time 4.01e-07/0.8763, allocations: 0 / 1.428 GB, free: 6.082 MB / 1.123 GB Notification: Performance of Templates: time 0.004941/0.8812, allocations: 1.619 MB / 1.429 GB, free: 4.484 MB / 1.123 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.485837562009692]