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.001462/0.001462, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001864/0.001864, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.747/2.747, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) [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.002076/0.002076, allocations: 67.89 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3096, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1769/0.4865, allocations: 131 MB / 1.411 GB, free: 8.902 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.4881, allocations: 1.04 MB / 1.412 GB, free: 7.859 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.4883, allocations: 0 / 1.412 GB, free: 7.859 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.4886, allocations: 47.69 kB / 1.412 GB, free: 7.812 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0008372/0.4894, allocations: 314.6 kB / 1.412 GB, free: 7.504 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.4898, allocations: 171.3 kB / 1.412 GB, free: 7.336 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.4902, allocations: 219.3 kB / 1.412 GB, free: 7.121 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.4904, allocations: 41.27 kB / 1.412 GB, free: 7.078 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.4905, allocations: 55.8 kB / 1.412 GB, free: 7.023 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.4906, allocations: 55.69 kB / 1.412 GB, free: 6.969 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.4906, allocations: 12 kB / 1.412 GB, free: 6.957 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.491, allocations: 235.5 kB / 1.413 GB, free: 6.727 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.4911, allocations: 35.84 kB / 1.413 GB, free: 6.691 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.4912, allocations: 51.8 kB / 1.413 GB, free: 6.641 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0004801/0.4916, allocations: 284.6 kB / 1.413 GB, free: 6.363 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.4916, allocations: 0 / 1.413 GB, free: 6.363 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4916, allocations: 0 / 1.413 GB, free: 6.363 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.4917, allocations: 0 / 1.413 GB, free: 6.363 MB / 1.107 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.0006722/0.4923, allocations: 397.3 kB / 1.413 GB, free: 5.945 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.4924, allocations: 12.03 kB / 1.413 GB, free: 5.934 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.4924, allocations: 46.73 kB / 1.413 GB, free: 5.879 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004892/0.4929, allocations: 52.73 kB / 1.413 GB, free: 5.828 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.4932, allocations: 155.9 kB / 1.414 GB, free: 5.652 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.4932, allocations: 8 kB / 1.414 GB, free: 5.645 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.4932, allocations: 8 kB / 1.414 GB, free: 5.637 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.4935, allocations: 114.7 kB / 1.414 GB, free: 5.52 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4935, allocations: 8 kB / 1.414 GB, free: 5.512 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4935, allocations: 4 kB / 1.414 GB, free: 5.508 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4935, allocations: 0 / 1.414 GB, free: 5.508 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.4938, allocations: 95.92 kB / 1.414 GB, free: 5.414 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.4945, allocations: 395.4 kB / 1.414 GB, free: 4.984 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.4947, allocations: 86.53 kB / 1.414 GB, free: 4.891 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.4949, allocations: 40.89 kB / 1.414 GB, free: 4.848 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.4949, allocations: 8 kB / 1.414 GB, free: 4.84 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.4949, allocations: 30.56 kB / 1.414 GB, free: 4.801 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.4949, allocations: 0 / 1.414 GB, free: 4.801 MB / 1.107 GB Notification: Performance of matching and sorting (n=7): time 0.0004466/0.4954, allocations: 145.7 kB / 1.415 GB, free: 4.652 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.4954, allocations: 55.41 kB / 1.415 GB, free: 4.586 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.4956, allocations: 188 kB / 1.415 GB, free: 4.395 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.4956, allocations: 29.7 kB / 1.415 GB, free: 4.359 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.4957, allocations: 120 kB / 1.415 GB, free: 4.238 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.4957, allocations: 23.8 kB / 1.415 GB, free: 4.215 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.4958, allocations: 21.7 kB / 1.415 GB, free: 4.188 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4959, allocations: 330.8 kB / 1.415 GB, free: 3.855 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.4961, allocations: 27.98 kB / 1.415 GB, free: 3.828 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.4962, allocations: 40.03 kB / 1.415 GB, free: 3.789 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.4964, allocations: 72.83 kB / 1.415 GB, free: 3.715 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4964, allocations: 0 / 1.415 GB, free: 3.715 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002859/0.4967, allocations: 125.5 kB / 1.416 GB, free: 3.586 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.4967, allocations: 4 kB / 1.416 GB, free: 3.582 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4967, allocations: 0 / 1.416 GB, free: 3.582 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4967, allocations: 0 / 1.416 GB, free: 3.582 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4968, allocations: 31.91 kB / 1.416 GB, free: 3.551 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.4968, allocations: 0 / 1.416 GB, free: 3.551 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.362e-05/0.4969, allocations: 8 kB / 1.416 GB, free: 3.543 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.4969, allocations: 7.938 kB / 1.416 GB, free: 3.535 MB / 1.107 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.0001141/0.4971, allocations: 127.5 kB / 1.416 GB, free: 3.402 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.4971, allocations: 15.91 kB / 1.416 GB, free: 3.387 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.4974, allocations: 123 kB / 1.416 GB, free: 3.258 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4974, allocations: 3.984 kB / 1.416 GB, free: 3.254 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.4974, allocations: 0 / 1.416 GB, free: 3.254 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4974, allocations: 0 / 1.416 GB, free: 3.254 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.4977, allocations: 184.6 kB / 1.416 GB, free: 3.031 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4977, allocations: 4 kB / 1.416 GB, free: 3.027 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.4978, allocations: 19.98 kB / 1.416 GB, free: 3.008 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4978, allocations: 0 / 1.416 GB, free: 3.008 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.4978, allocations: 0 / 1.416 GB, free: 3.008 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4978, allocations: 0 / 1.416 GB, free: 3.008 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4978, allocations: 0 / 1.416 GB, free: 3.008 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.4982, allocations: 219.3 kB / 1.416 GB, free: 2.777 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.4982, allocations: 11.91 kB / 1.416 GB, free: 2.766 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.4982, allocations: 4 kB / 1.416 GB, free: 2.762 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.4983, allocations: 11.98 kB / 1.416 GB, free: 2.75 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.4984, allocations: 7.984 kB / 1.416 GB, free: 2.742 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.4984, allocations: 0 / 1.416 GB, free: 2.742 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001196/0.4985, allocations: 131.2 kB / 1.416 GB, free: 2.613 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.4985, allocations: 0 / 1.416 GB, free: 2.613 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002632/0.4988, allocations: 24 kB / 1.416 GB, free: 2.59 MB / 1.107 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.0006976/0.4995, allocations: 0.7513 MB / 1.417 GB, free: 1.809 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.4997, allocations: 72.41 kB / 1.417 GB, free: 1.738 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4997, allocations: 0 / 1.417 GB, free: 1.738 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.4999, allocations: 44.06 kB / 1.417 GB, free: 1.695 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.5002, allocations: 42.55 kB / 1.417 GB, free: 1.656 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.5026, allocations: 1.751 MB / 1.419 GB, free: 15.83 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.5027, allocations: 94.28 kB / 1.419 GB, free: 15.72 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 7.257e-05/0.5028, allocations: 8.969 kB / 1.419 GB, free: 15.71 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.5029, allocations: 39.42 kB / 1.419 GB, free: 15.67 MB / 1.123 GB Notification: Performance of SimCode: time 6.01e-07/0.5029, allocations: 4 kB / 1.419 GB, free: 15.67 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.5345, allocations: 3.866 MB / 1.423 GB, free: 11.97 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.66, allocations: 9 kB / 1.423 GB, free: 11.96 MB / 1.123 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable masExc.TSur in file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.TSur from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.mWat_flow in file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.mWat_flow from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.Gc in file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.Gc from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.XInf in file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.XInf from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.22302783979103]