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.001484/0.001484, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001606/0.001606, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.809 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.211/3.211, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_12_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.002036/0.002036, allocations: 63.69 kB / 1.153 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 176.1 MB / 1.325 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1717/0.4985, allocations: 131 MB / 1.453 GB, free: 14.7 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.5002, allocations: 1.048 MB / 1.454 GB, free: 13.65 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.5003, allocations: 4 kB / 1.454 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.5007, allocations: 47.69 kB / 1.454 GB, free: 13.6 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0009023/0.5016, allocations: 314.6 kB / 1.454 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.502, allocations: 167.3 kB / 1.455 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005103/0.5025, allocations: 223.3 kB / 1.455 GB, free: 12.91 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.5027, allocations: 45.27 kB / 1.455 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-05/0.5028, allocations: 47.8 kB / 1.455 GB, free: 12.82 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.5029, allocations: 51.77 kB / 1.455 GB, free: 12.77 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.5029, allocations: 12 kB / 1.455 GB, free: 12.75 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004917/0.5034, allocations: 243.4 kB / 1.455 GB, free: 12.52 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.5034, allocations: 31.84 kB / 1.455 GB, free: 12.48 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.5035, allocations: 51.8 kB / 1.455 GB, free: 12.43 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005123/0.504, allocations: 275 kB / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.504, allocations: 4 kB / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.833e-06/0.504, allocations: 0 / 1.456 GB, free: 12.16 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.504, allocations: 4 kB / 1.456 GB, free: 12.16 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.0007345/0.5048, allocations: 397.3 kB / 1.456 GB, free: 11.74 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5048, allocations: 11.97 kB / 1.456 GB, free: 11.73 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.5049, allocations: 42.73 kB / 1.456 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004896/0.5053, allocations: 48.8 kB / 1.456 GB, free: 11.63 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.5057, allocations: 162 kB / 1.456 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.5057, allocations: 4 kB / 1.456 GB, free: 11.44 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.5057, allocations: 12 kB / 1.456 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.506, allocations: 112.3 kB / 1.456 GB, free: 11.32 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.506, allocations: 3.938 kB / 1.456 GB, free: 11.31 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.506, allocations: 4 kB / 1.456 GB, free: 11.31 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.506, allocations: 4 kB / 1.456 GB, free: 11.3 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.5063, allocations: 91.88 kB / 1.456 GB, free: 11.21 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.507, allocations: 403.4 kB / 1.457 GB, free: 10.78 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.5073, allocations: 86.55 kB / 1.457 GB, free: 10.68 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.5074, allocations: 40.88 kB / 1.457 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.5074, allocations: 0 / 1.457 GB, free: 10.64 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.5075, allocations: 38.56 kB / 1.457 GB, free: 10.59 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.5075, allocations: 0 / 1.457 GB, free: 10.59 MB / 1.154 GB Notification: Performance of matching and sorting (n=7): time 0.0004737/0.5079, allocations: 141.6 kB / 1.457 GB, free: 10.45 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.508, allocations: 51.41 kB / 1.457 GB, free: 10.39 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.5082, allocations: 183.5 kB / 1.457 GB, free: 10.2 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.5082, allocations: 25.7 kB / 1.457 GB, free: 10.17 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.5083, allocations: 120 kB / 1.457 GB, free: 10.05 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.5083, allocations: 19.8 kB / 1.457 GB, free: 10.03 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.5084, allocations: 25.7 kB / 1.457 GB, free: 9.996 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.5086, allocations: 326.8 kB / 1.458 GB, free: 9.668 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.5087, allocations: 35.92 kB / 1.458 GB, free: 9.633 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.5088, allocations: 35.97 kB / 1.458 GB, free: 9.598 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.509, allocations: 68.83 kB / 1.458 GB, free: 9.527 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.509, allocations: 0 / 1.458 GB, free: 9.527 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002825/0.5093, allocations: 117.5 kB / 1.458 GB, free: 9.406 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5093, allocations: 8 kB / 1.458 GB, free: 9.398 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.5093, allocations: 0 / 1.458 GB, free: 9.398 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.5093, allocations: 4 kB / 1.458 GB, free: 9.395 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.5094, allocations: 23.86 kB / 1.458 GB, free: 9.371 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5095, allocations: 3.938 kB / 1.458 GB, free: 9.367 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.5096, allocations: 15.95 kB / 1.458 GB, free: 9.352 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.5096, allocations: 0 / 1.458 GB, free: 9.352 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.0001148/0.5097, allocations: 130.3 kB / 1.458 GB, free: 9.215 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.5097, allocations: 7.953 kB / 1.458 GB, free: 9.207 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.51, allocations: 127.6 kB / 1.458 GB, free: 9.074 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.51, allocations: 0 / 1.458 GB, free: 9.074 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5101, allocations: 7.984 kB / 1.458 GB, free: 9.066 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5101, allocations: 0 / 1.458 GB, free: 9.066 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.5103, allocations: 184.5 kB / 1.459 GB, free: 8.844 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5103, allocations: 3.938 kB / 1.459 GB, free: 8.84 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.5104, allocations: 19.98 kB / 1.459 GB, free: 8.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.5104, allocations: 0 / 1.459 GB, free: 8.82 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.5104, allocations: 4 kB / 1.459 GB, free: 8.816 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5104, allocations: 0 / 1.459 GB, free: 8.816 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5104, allocations: 0 / 1.459 GB, free: 8.816 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.5108, allocations: 219.4 kB / 1.459 GB, free: 8.586 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.5108, allocations: 15.91 kB / 1.459 GB, free: 8.57 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.5108, allocations: 0 / 1.459 GB, free: 8.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.5109, allocations: 7.984 kB / 1.459 GB, free: 8.562 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.511, allocations: 7.984 kB / 1.459 GB, free: 8.555 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.511, allocations: 7.938 kB / 1.459 GB, free: 8.547 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001266/0.5111, allocations: 135.5 kB / 1.459 GB, free: 8.414 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5111, allocations: 0 / 1.459 GB, free: 8.414 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002509/0.5114, allocations: 20 kB / 1.459 GB, free: 8.395 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.0007618/0.5121, allocations: 0.7475 MB / 1.46 GB, free: 7.617 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.5124, allocations: 79.88 kB / 1.46 GB, free: 7.539 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5124, allocations: 0 / 1.46 GB, free: 7.539 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.5125, allocations: 39.97 kB / 1.46 GB, free: 7.5 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.5129, allocations: 33.78 kB / 1.46 GB, free: 7.469 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.5153, allocations: 1.76 MB / 1.462 GB, free: 5.625 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.5154, allocations: 94.14 kB / 1.462 GB, free: 5.512 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 7.955e-05/0.5155, allocations: 16.97 kB / 1.462 GB, free: 5.496 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.5156, allocations: 39.36 kB / 1.462 GB, free: 5.461 MB / 1.154 GB Notification: Performance of SimCode: time 6.31e-07/0.5156, allocations: 0 / 1.462 GB, free: 5.461 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.5455, allocations: 3.872 MB / 1.465 GB, free: 1.762 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.85, allocations: 4.062 kB / 1.465 GB, free: 1.758 MB / 1.154 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv","/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] "Error: Could not read variable masExc.TSur in file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.TSur from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.mWat_flow in file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.mWat_flow from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.Gc in file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.Gc from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.XInf in file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.XInf from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.588846337981522]