Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001867/0.001867, allocations: 104.2 kB / 19.74 MB, free: 2.07 MB / 14.72 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.002538/0.002538, allocations: 207.2 kB / 23.03 MB, free: 4.863 MB / 14.72 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.118/3.118, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.33 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 176.1 MB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1656/0.5177, allocations: 131 MB / 1.455 GB, free: 13.4 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.5192, allocations: 1.055 MB / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.5193, allocations: 4 kB / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.5197, allocations: 47.69 kB / 1.456 GB, free: 12.29 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0007965/0.5204, allocations: 314.6 kB / 1.456 GB, free: 11.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.5208, allocations: 167.3 kB / 1.457 GB, free: 11.82 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.5213, allocations: 219.3 kB / 1.457 GB, free: 11.61 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.5214, allocations: 45.27 kB / 1.457 GB, free: 11.56 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.5215, allocations: 51.8 kB / 1.457 GB, free: 11.51 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/0.5216, allocations: 55.7 kB / 1.457 GB, free: 11.46 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.5216, allocations: 12 kB / 1.457 GB, free: 11.45 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.522, allocations: 239.5 kB / 1.457 GB, free: 11.21 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.5221, allocations: 27.86 kB / 1.457 GB, free: 11.18 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.5221, allocations: 51.73 kB / 1.457 GB, free: 11.13 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.5226, allocations: 279 kB / 1.458 GB, free: 10.86 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5226, allocations: 0 / 1.458 GB, free: 10.86 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5226, allocations: 0 / 1.458 GB, free: 10.86 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.5226, allocations: 4 kB / 1.458 GB, free: 10.86 MB / 1.154 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.0006611/0.5232, allocations: 405.2 kB / 1.458 GB, free: 10.43 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.5233, allocations: 8.031 kB / 1.458 GB, free: 10.42 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/0.5237, allocations: 48.78 kB / 1.458 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.524, allocations: 148.1 kB / 1.458 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.524, allocations: 11.94 kB / 1.458 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.524, allocations: 12 kB / 1.458 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.5243, allocations: 124.6 kB / 1.458 GB, free: 10.06 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5243, allocations: 0 / 1.458 GB, free: 10.06 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5243, allocations: 0 / 1.458 GB, free: 10.06 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.5243, allocations: 4 kB / 1.458 GB, free: 10.05 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.5246, allocations: 95.88 kB / 1.458 GB, free: 9.961 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006107/0.5252, allocations: 359.9 kB / 1.459 GB, free: 9.578 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.5254, allocations: 94.48 kB / 1.459 GB, free: 9.477 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.5255, allocations: 36.94 kB / 1.459 GB, free: 9.438 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.5255, allocations: 4 kB / 1.459 GB, free: 9.434 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.5256, allocations: 34.56 kB / 1.459 GB, free: 9.391 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.5256, allocations: 0 / 1.459 GB, free: 9.391 MB / 1.154 GB Notification: Performance of matching and sorting (n=7): time 0.0004437/0.526, allocations: 133.8 kB / 1.459 GB, free: 9.254 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.5261, allocations: 59.33 kB / 1.459 GB, free: 9.184 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.5262, allocations: 155 kB / 1.459 GB, free: 9.023 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.5262, allocations: 25.7 kB / 1.459 GB, free: 8.992 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.5263, allocations: 123.9 kB / 1.459 GB, free: 8.867 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.5263, allocations: 23.8 kB / 1.459 GB, free: 8.844 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.5264, allocations: 17.72 kB / 1.459 GB, free: 8.82 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5265, allocations: 330.7 kB / 1.46 GB, free: 8.488 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.5266, allocations: 31.97 kB / 1.46 GB, free: 8.457 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.5267, allocations: 32.05 kB / 1.46 GB, free: 8.426 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.5269, allocations: 76.81 kB / 1.46 GB, free: 8.348 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5269, allocations: 0 / 1.46 GB, free: 8.348 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002699/0.5272, allocations: 113.6 kB / 1.46 GB, free: 8.23 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5272, allocations: 11.94 kB / 1.46 GB, free: 8.219 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.5272, allocations: 3.938 kB / 1.46 GB, free: 8.215 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5272, allocations: 0 / 1.46 GB, free: 8.215 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.5274, allocations: 15.98 kB / 1.46 GB, free: 8.199 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5274, allocations: 0 / 1.46 GB, free: 8.199 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.5275, allocations: 19.94 kB / 1.46 GB, free: 8.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.5275, allocations: 0 / 1.46 GB, free: 8.18 MB / 1.154 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.0001047/0.5276, allocations: 122.3 kB / 1.46 GB, free: 8.051 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.5276, allocations: 11.95 kB / 1.46 GB, free: 8.039 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.5279, allocations: 126.3 kB / 1.46 GB, free: 7.906 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5279, allocations: 4 kB / 1.46 GB, free: 7.902 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5279, allocations: 0 / 1.46 GB, free: 7.902 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5279, allocations: 0 / 1.46 GB, free: 7.902 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.5281, allocations: 157.2 kB / 1.46 GB, free: 7.719 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5281, allocations: 0 / 1.46 GB, free: 7.719 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.5282, allocations: 15.98 kB / 1.46 GB, free: 7.703 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.5282, allocations: 4 kB / 1.46 GB, free: 7.699 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.5282, allocations: 4 kB / 1.46 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.5282, allocations: 0 / 1.46 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5282, allocations: 3.984 kB / 1.46 GB, free: 7.691 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.5285, allocations: 219.3 kB / 1.461 GB, free: 7.461 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.5286, allocations: 11.95 kB / 1.461 GB, free: 7.449 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.5286, allocations: 4 kB / 1.461 GB, free: 7.445 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.5287, allocations: 7.984 kB / 1.461 GB, free: 7.438 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.5287, allocations: 4 kB / 1.461 GB, free: 7.434 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.5287, allocations: 0 / 1.461 GB, free: 7.434 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001001/0.5288, allocations: 118.6 kB / 1.461 GB, free: 7.32 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5288, allocations: 0 / 1.461 GB, free: 7.32 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002501/0.5291, allocations: 31.89 kB / 1.461 GB, free: 7.289 MB / 1.154 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.0001592/0.5293, allocations: 103.2 kB / 1.461 GB, free: 7.18 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002782/0.5295, allocations: 75.89 kB / 1.461 GB, free: 7.105 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5295, allocations: 0 / 1.461 GB, free: 7.105 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.5296, allocations: 31.98 kB / 1.461 GB, free: 7.074 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.53, allocations: 49.89 kB / 1.461 GB, free: 7.027 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.5306, allocations: 278.8 kB / 1.461 GB, free: 6.723 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.348e-05/0.5307, allocations: 98.16 kB / 1.461 GB, free: 6.605 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.5307, allocations: 15.44 kB / 1.461 GB, free: 6.59 MB / 1.154 GB Notification: Performance of SimCode: time 3.3e-07/0.5307, allocations: 4 kB / 1.461 GB, free: 6.586 MB / 1.154 GB Notification: Performance of Templates: time 0.00349/0.5342, allocations: 1.62 MB / 1.463 GB, free: 4.973 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.357480383012444]