Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001172/0.001172, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001289/0.001289, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.3/1.3, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.884/2.884, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_latest_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.001838/0.001838, allocations: 67.2 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2717, allocations: 180.2 MB / 1.353 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1566/0.4283, allocations: 152.3 MB / 1.502 GB, free: 15.47 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.4297, allocations: 1.168 MB / 1.503 GB, free: 14.3 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.168e-05/0.4298, allocations: 3.938 kB / 1.503 GB, free: 14.29 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.4301, allocations: 59.66 kB / 1.503 GB, free: 14.23 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00071/0.4308, allocations: 322.6 kB / 1.503 GB, free: 13.92 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.4311, allocations: 171.3 kB / 1.503 GB, free: 13.75 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.4315, allocations: 215.3 kB / 1.504 GB, free: 13.54 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.4317, allocations: 45.27 kB / 1.504 GB, free: 13.49 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 6.974e-05/0.4317, allocations: 51.8 kB / 1.504 GB, free: 13.44 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/0.4318, allocations: 63.7 kB / 1.504 GB, free: 13.38 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.4318, allocations: 12 kB / 1.504 GB, free: 13.37 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005632/0.4324, allocations: 387.2 kB / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.4325, allocations: 31.92 kB / 1.504 GB, free: 12.96 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.4325, allocations: 59.67 kB / 1.504 GB, free: 12.9 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.4329, allocations: 302.9 kB / 1.504 GB, free: 12.6 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4329, allocations: 3.938 kB / 1.504 GB, free: 12.6 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4329, allocations: 0 / 1.504 GB, free: 12.6 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.4329, allocations: 0 / 1.504 GB, free: 12.6 MB / 1.201 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.0005885/0.4335, allocations: 405.3 kB / 1.505 GB, free: 12.17 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.4336, allocations: 8.031 kB / 1.505 GB, free: 12.16 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.4336, allocations: 42.73 kB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/0.4341, allocations: 52.8 kB / 1.505 GB, free: 12.06 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.4343, allocations: 145.4 kB / 1.505 GB, free: 11.89 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4343, allocations: 8 kB / 1.505 GB, free: 11.89 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.4343, allocations: 19.88 kB / 1.505 GB, free: 11.87 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.4346, allocations: 113.6 kB / 1.505 GB, free: 11.75 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4346, allocations: 0 / 1.505 GB, free: 11.75 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4346, allocations: 8 kB / 1.505 GB, free: 11.74 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.4346, allocations: 0 / 1.505 GB, free: 11.74 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.4349, allocations: 95.86 kB / 1.505 GB, free: 11.65 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.4355, allocations: 427.3 kB / 1.506 GB, free: 11.19 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.4358, allocations: 94.47 kB / 1.506 GB, free: 11.09 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.4359, allocations: 32.95 kB / 1.506 GB, free: 11.05 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.4359, allocations: 4 kB / 1.506 GB, free: 11.05 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.436, allocations: 34.56 kB / 1.506 GB, free: 11 MB / 1.201 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.436, allocations: 3.938 kB / 1.506 GB, free: 11 MB / 1.201 GB Notification: Performance of matching and sorting (n=7): time 0.0005334/0.4365, allocations: 141.6 kB / 1.506 GB, free: 10.86 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.4365, allocations: 55.34 kB / 1.506 GB, free: 10.79 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.4367, allocations: 182.2 kB / 1.506 GB, free: 10.6 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4367, allocations: 29.7 kB / 1.506 GB, free: 10.57 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.4368, allocations: 120 kB / 1.506 GB, free: 10.45 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.4368, allocations: 23.8 kB / 1.506 GB, free: 10.42 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.4369, allocations: 25.7 kB / 1.506 GB, free: 10.39 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.437, allocations: 322.8 kB / 1.507 GB, free: 10.07 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4371, allocations: 27.98 kB / 1.507 GB, free: 10.04 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.4372, allocations: 31.97 kB / 1.507 GB, free: 10.01 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.4374, allocations: 80.81 kB / 1.507 GB, free: 9.926 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.4374, allocations: 0 / 1.507 GB, free: 9.926 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002621/0.4376, allocations: 121.5 kB / 1.507 GB, free: 9.801 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4377, allocations: 8 kB / 1.507 GB, free: 9.793 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4377, allocations: 0 / 1.507 GB, free: 9.793 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.4377, allocations: 0 / 1.507 GB, free: 9.793 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4378, allocations: 15.98 kB / 1.507 GB, free: 9.777 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.4378, allocations: 0 / 1.507 GB, free: 9.777 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.444e-05/0.4379, allocations: 23.88 kB / 1.507 GB, free: 9.754 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.4379, allocations: 4 kB / 1.507 GB, free: 9.75 MB / 1.201 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 9.006e-05/0.438, allocations: 121.8 kB / 1.507 GB, free: 9.621 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.438, allocations: 7.953 kB / 1.507 GB, free: 9.613 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.4383, allocations: 131.5 kB / 1.507 GB, free: 9.48 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4383, allocations: 0 / 1.507 GB, free: 9.48 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4383, allocations: 0 / 1.507 GB, free: 9.48 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4384, allocations: 3.938 kB / 1.507 GB, free: 9.477 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.4386, allocations: 204.5 kB / 1.507 GB, free: 9.234 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4386, allocations: 0 / 1.507 GB, free: 9.234 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.4387, allocations: 19.98 kB / 1.507 GB, free: 9.215 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4387, allocations: 0 / 1.507 GB, free: 9.215 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4387, allocations: 3.938 kB / 1.508 GB, free: 9.211 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4387, allocations: 4 kB / 1.508 GB, free: 9.207 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4387, allocations: 0 / 1.508 GB, free: 9.207 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.439, allocations: 215.4 kB / 1.508 GB, free: 8.98 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.439, allocations: 19.84 kB / 1.508 GB, free: 8.961 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.439, allocations: 4 kB / 1.508 GB, free: 8.957 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4391, allocations: 7.984 kB / 1.508 GB, free: 8.949 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.4392, allocations: 3.938 kB / 1.508 GB, free: 8.945 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.4392, allocations: 8 kB / 1.508 GB, free: 8.938 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001149/0.4393, allocations: 140.2 kB / 1.508 GB, free: 8.801 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4393, allocations: 0 / 1.508 GB, free: 8.801 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002294/0.4395, allocations: 24 kB / 1.508 GB, free: 8.777 MB / 1.201 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.0005946/0.4401, allocations: 0.7397 MB / 1.509 GB, free: 8.008 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.4404, allocations: 83.94 kB / 1.509 GB, free: 7.926 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4404, allocations: 0 / 1.509 GB, free: 7.926 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4405, allocations: 39.91 kB / 1.509 GB, free: 7.887 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.4408, allocations: 27.83 kB / 1.509 GB, free: 7.859 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.4429, allocations: 1.767 MB / 1.511 GB, free: 6.016 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.4432, allocations: 0.7117 MB / 1.511 GB, free: 5.277 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 5.904e-05/0.4432, allocations: 8.969 kB / 1.511 GB, free: 5.27 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.4433, allocations: 39.42 kB / 1.511 GB, free: 5.23 MB / 1.201 GB Notification: Performance of SimCode: time 5.81e-07/0.4433, allocations: 0 / 1.511 GB, free: 5.23 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.4698, allocations: 3.341 MB / 1.515 GB, free: 2.035 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.816/10.29, allocations: 6.953 kB / 1.515 GB, free: 2.031 MB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.TSur from file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.mWat_flow in file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.mWat_flow from file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.Gc in file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.Gc from file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.XInf in file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.XInf from file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.225202294000155]