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.001667/0.001667, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002225/0.002225, allocations: 217.5 kB / 22.25 MB, free: 5.078 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 8.035 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.877/2.877, allocations: 476.8 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 176] 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.002071/0.002071, allocations: 63.94 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.315, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1835/0.4985, allocations: 152.3 MB / 1.432 GB, free: 2.766 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.5004, allocations: 1.161 MB / 1.433 GB, free: 1.602 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.5005, allocations: 8 kB / 1.433 GB, free: 1.594 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.5009, allocations: 55.61 kB / 1.433 GB, free: 1.539 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0008752/0.5018, allocations: 310.7 kB / 1.434 GB, free: 1.234 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.5022, allocations: 175.3 kB / 1.434 GB, free: 1.062 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.5027, allocations: 219.3 kB / 1.434 GB, free: 0.8477 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.5028, allocations: 48.8 kB / 1.434 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.5029, allocations: 51.73 kB / 1.434 GB, free: 0.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.503, allocations: 63.69 kB / 1.434 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.503, allocations: 12 kB / 1.434 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006573/0.5037, allocations: 391.2 kB / 1.435 GB, free: 300 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.5038, allocations: 31.89 kB / 1.435 GB, free: 268 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.5038, allocations: 59.67 kB / 1.435 GB, free: 208 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005552/0.5044, allocations: 303 kB / 1.435 GB, free: 15.91 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5044, allocations: 0 / 1.435 GB, free: 15.91 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5044, allocations: 0 / 1.435 GB, free: 15.91 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.5044, allocations: 4 kB / 1.435 GB, free: 15.9 MB / 1.139 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.0007479/0.5051, allocations: 399.3 kB / 1.435 GB, free: 15.48 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.5052, allocations: 16.03 kB / 1.435 GB, free: 15.47 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.675e-05/0.5052, allocations: 42.75 kB / 1.435 GB, free: 15.42 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.5057, allocations: 44.8 kB / 1.435 GB, free: 15.38 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.506, allocations: 162 kB / 1.436 GB, free: 15.19 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.5061, allocations: 8 kB / 1.436 GB, free: 15.18 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.5061, allocations: 8 kB / 1.436 GB, free: 15.18 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.5063, allocations: 125.6 kB / 1.436 GB, free: 15.05 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5064, allocations: 3.938 kB / 1.436 GB, free: 15.04 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5064, allocations: 0 / 1.436 GB, free: 15.04 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.5064, allocations: 7.984 kB / 1.436 GB, free: 15.04 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.5066, allocations: 92.59 kB / 1.436 GB, free: 14.95 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007677/0.5074, allocations: 431.3 kB / 1.436 GB, free: 14.48 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.5076, allocations: 82.55 kB / 1.436 GB, free: 14.39 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.5077, allocations: 36.95 kB / 1.436 GB, free: 14.35 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.5078, allocations: 3.938 kB / 1.436 GB, free: 14.35 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.5078, allocations: 34.55 kB / 1.436 GB, free: 14.3 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.5078, allocations: 4 kB / 1.436 GB, free: 14.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=7): time 0.0004604/0.5083, allocations: 141.5 kB / 1.437 GB, free: 14.16 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.5083, allocations: 51.41 kB / 1.437 GB, free: 14.09 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.5085, allocations: 184 kB / 1.437 GB, free: 13.91 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.5085, allocations: 29.7 kB / 1.437 GB, free: 13.87 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.5086, allocations: 119.9 kB / 1.437 GB, free: 13.75 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.5086, allocations: 27.83 kB / 1.437 GB, free: 13.72 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.5087, allocations: 21.72 kB / 1.437 GB, free: 13.7 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002805/0.509, allocations: 330.8 kB / 1.437 GB, free: 13.36 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.5091, allocations: 31.97 kB / 1.437 GB, free: 13.33 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.5092, allocations: 35.92 kB / 1.437 GB, free: 13.3 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.5094, allocations: 72.81 kB / 1.437 GB, free: 13.22 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5094, allocations: 4 kB / 1.437 GB, free: 13.22 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002835/0.5097, allocations: 117.6 kB / 1.438 GB, free: 13.1 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5097, allocations: 4 kB / 1.438 GB, free: 13.09 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5097, allocations: 0 / 1.438 GB, free: 13.09 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.5097, allocations: 0 / 1.438 GB, free: 13.09 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.5098, allocations: 23.92 kB / 1.438 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.5099, allocations: 0 / 1.438 GB, free: 13.07 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.605e-05/0.5099, allocations: 11.92 kB / 1.438 GB, free: 13.06 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.51, allocations: 8 kB / 1.438 GB, free: 13.05 MB / 1.139 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.0001012/0.5101, allocations: 121.8 kB / 1.438 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.5101, allocations: 15.91 kB / 1.438 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.5104, allocations: 123 kB / 1.438 GB, free: 12.78 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5104, allocations: 4 kB / 1.438 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5104, allocations: 0 / 1.438 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5104, allocations: 0 / 1.438 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.5107, allocations: 192.6 kB / 1.438 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5107, allocations: 4 kB / 1.438 GB, free: 12.54 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.5108, allocations: 27.86 kB / 1.438 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5108, allocations: 0 / 1.438 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.5108, allocations: 0 / 1.438 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5108, allocations: 0 / 1.438 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5108, allocations: 0 / 1.438 GB, free: 12.51 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.5112, allocations: 220 kB / 1.438 GB, free: 12.28 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.869e-05/0.5112, allocations: 15.84 kB / 1.438 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.5112, allocations: 4 kB / 1.438 GB, free: 12.26 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.5113, allocations: 7.984 kB / 1.438 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.5114, allocations: 7.984 kB / 1.438 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.5114, allocations: 0 / 1.438 GB, free: 12.25 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000133/0.5115, allocations: 139.2 kB / 1.438 GB, free: 12.11 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5115, allocations: 0 / 1.438 GB, free: 12.11 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000248/0.5117, allocations: 16 kB / 1.438 GB, free: 12.09 MB / 1.139 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.0008146/0.5126, allocations: 0.7553 MB / 1.439 GB, free: 11.31 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002781/0.5128, allocations: 75.89 kB / 1.439 GB, free: 11.23 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5128, allocations: 3.938 kB / 1.439 GB, free: 11.23 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.513, allocations: 39.97 kB / 1.439 GB, free: 11.19 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.5134, allocations: 31.95 kB / 1.439 GB, free: 11.16 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.5159, allocations: 1.755 MB / 1.441 GB, free: 9.332 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.5162, allocations: 0.7119 MB / 1.442 GB, free: 8.594 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 6.722e-05/0.5163, allocations: 8.969 kB / 1.442 GB, free: 8.586 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.5164, allocations: 39.42 kB / 1.442 GB, free: 8.547 MB / 1.139 GB Notification: Performance of SimCode: time 3.1e-07/0.5164, allocations: 0 / 1.442 GB, free: 8.547 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.5478, allocations: 3.336 MB / 1.445 GB, free: 5.367 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.72, allocations: 0 / 1.445 GB, free: 5.367 MB / 1.139 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.461501395097002]