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.001632/0.001632, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00208/0.00208, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] 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 3.195/3.195, allocations: 0.5049 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 176] 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.002041/0.002041, allocations: 69.81 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3329, allocations: 180.2 MB / 1.348 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.2282/0.5611, allocations: 152.3 MB / 1.497 GB, free: 1.113 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.5628, allocations: 1.157 MB / 1.498 GB, free: 15.95 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.5629, allocations: 0 / 1.498 GB, free: 15.95 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.5632, allocations: 71.59 kB / 1.498 GB, free: 15.88 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0007184/0.5639, allocations: 302.7 kB / 1.498 GB, free: 15.59 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.5643, allocations: 171.3 kB / 1.498 GB, free: 15.42 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.5647, allocations: 219.3 kB / 1.498 GB, free: 15.2 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.5648, allocations: 45.09 kB / 1.498 GB, free: 15.16 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 8.779e-05/0.5649, allocations: 55.72 kB / 1.498 GB, free: 15.11 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.565, allocations: 59.7 kB / 1.499 GB, free: 15.05 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.565, allocations: 12 kB / 1.499 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000632/0.5657, allocations: 395.1 kB / 1.499 GB, free: 14.65 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.5657, allocations: 23.92 kB / 1.499 GB, free: 14.62 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.5658, allocations: 63.67 kB / 1.499 GB, free: 14.56 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.5663, allocations: 306.9 kB / 1.499 GB, free: 14.26 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5663, allocations: 0 / 1.499 GB, free: 14.26 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5663, allocations: 0 / 1.499 GB, free: 14.26 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.5663, allocations: 0 / 1.499 GB, free: 14.26 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.0007014/0.567, allocations: 474.4 kB / 1.5 GB, free: 13.75 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.567, allocations: 15.98 kB / 1.5 GB, free: 13.73 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.5671, allocations: 50.67 kB / 1.5 GB, free: 13.68 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.5675, allocations: 48.8 kB / 1.5 GB, free: 13.63 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.5678, allocations: 208.8 kB / 1.5 GB, free: 13.39 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.5678, allocations: 8 kB / 1.5 GB, free: 13.38 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.5679, allocations: 8 kB / 1.5 GB, free: 13.37 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.5682, allocations: 121.5 kB / 1.5 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5682, allocations: 0 / 1.5 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.5683, allocations: 12 kB / 1.5 GB, free: 13.23 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5683, allocations: 0 / 1.5 GB, free: 13.23 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.5685, allocations: 87.94 kB / 1.5 GB, free: 13.15 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008808/0.5694, allocations: 464.2 kB / 1.501 GB, free: 12.64 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.5697, allocations: 94.48 kB / 1.501 GB, free: 12.54 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.5698, allocations: 32.95 kB / 1.501 GB, free: 12.51 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.5698, allocations: 3.984 kB / 1.501 GB, free: 12.5 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.5698, allocations: 38.5 kB / 1.501 GB, free: 12.46 MB / 1.201 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.5698, allocations: 0 / 1.501 GB, free: 12.46 MB / 1.201 GB Notification: Performance of matching and sorting (n=7): time 0.0005674/0.5704, allocations: 141.6 kB / 1.501 GB, free: 12.31 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.5704, allocations: 51.41 kB / 1.501 GB, free: 12.25 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.5706, allocations: 182.3 kB / 1.501 GB, free: 12.06 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.5706, allocations: 29.7 kB / 1.501 GB, free: 12.03 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.5707, allocations: 119.9 kB / 1.501 GB, free: 11.91 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.5708, allocations: 23.84 kB / 1.501 GB, free: 11.88 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.5708, allocations: 17.72 kB / 1.501 GB, free: 11.86 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.571, allocations: 326.8 kB / 1.502 GB, free: 11.53 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.5711, allocations: 35.97 kB / 1.502 GB, free: 11.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.5712, allocations: 36.28 kB / 1.502 GB, free: 11.46 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.5714, allocations: 72.81 kB / 1.502 GB, free: 11.39 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.5714, allocations: 4 kB / 1.502 GB, free: 11.38 MB / 1.201 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002983/0.5717, allocations: 121.5 kB / 1.502 GB, free: 11.26 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5717, allocations: 4 kB / 1.502 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5717, allocations: 0 / 1.502 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5717, allocations: 0 / 1.502 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.5719, allocations: 31.86 kB / 1.502 GB, free: 11.22 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5719, allocations: 0 / 1.502 GB, free: 11.22 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.572, allocations: 19.81 kB / 1.502 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.572, allocations: 4 kB / 1.502 GB, free: 11.2 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 0.0001088/0.5721, allocations: 121.8 kB / 1.502 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.5722, allocations: 11.95 kB / 1.502 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.5725, allocations: 123 kB / 1.502 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5725, allocations: 4 kB / 1.502 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5725, allocations: 0 / 1.502 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5725, allocations: 3.938 kB / 1.502 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.5728, allocations: 217.5 kB / 1.503 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5728, allocations: 0 / 1.503 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.5729, allocations: 23.98 kB / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5729, allocations: 0 / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.5729, allocations: 0 / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5729, allocations: 0 / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5729, allocations: 0 / 1.503 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.5733, allocations: 219.3 kB / 1.503 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.5734, allocations: 96.89 kB / 1.503 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.5734, allocations: 4 kB / 1.503 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.5735, allocations: 7.984 kB / 1.503 GB, free: 10.28 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.5736, allocations: 15.92 kB / 1.503 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.5736, allocations: 0 / 1.503 GB, free: 10.27 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001412/0.5737, allocations: 136.2 kB / 1.503 GB, free: 10.13 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5737, allocations: 0 / 1.503 GB, free: 10.13 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002492/0.574, allocations: 20 kB / 1.503 GB, free: 10.11 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.0007267/0.5747, allocations: 0.7475 MB / 1.504 GB, free: 9.336 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.575, allocations: 76.34 kB / 1.504 GB, free: 9.262 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.575, allocations: 4 kB / 1.504 GB, free: 9.258 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.5751, allocations: 35.97 kB / 1.504 GB, free: 9.223 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.5755, allocations: 50.09 kB / 1.504 GB, free: 9.176 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.5778, allocations: 1.758 MB / 1.506 GB, free: 7.336 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.5782, allocations: 0.7117 MB / 1.506 GB, free: 6.598 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 6.856e-05/0.5782, allocations: 20.86 kB / 1.506 GB, free: 6.578 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.5783, allocations: 35.42 kB / 1.506 GB, free: 6.543 MB / 1.201 GB Notification: Performance of SimCode: time 2.81e-07/0.5783, allocations: 0 / 1.506 GB, free: 6.543 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.6039, allocations: 3.205 MB / 1.509 GB, free: 3.488 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.79, allocations: 10.7 kB / 1.509 GB, free: 3.48 MB / 1.201 GB " [Timeout remaining time 291] (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: 15.498080724151805]