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.001481/0.001481, 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.001653/0.001653, allocations: 213.6 kB / 22.25 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.341/1.341, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.994/2.994, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.001997/0.001997, allocations: 71.45 kB / 1.186 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1543/0.4629, allocations: 131 MB / 1.491 GB, free: 10.52 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.4645, allocations: 1.055 MB / 1.492 GB, free: 9.461 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.4646, allocations: 0 / 1.492 GB, free: 9.461 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.4649, allocations: 47.7 kB / 1.492 GB, free: 9.414 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.000806/0.4657, allocations: 314.6 kB / 1.493 GB, free: 9.105 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.4661, allocations: 167.3 kB / 1.493 GB, free: 8.941 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004462/0.4665, allocations: 223.3 kB / 1.493 GB, free: 8.723 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.4666, allocations: 37.28 kB / 1.493 GB, free: 8.688 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 9.012e-05/0.4667, allocations: 55.86 kB / 1.493 GB, free: 8.633 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.4668, allocations: 59.62 kB / 1.493 GB, free: 8.574 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.4668, allocations: 12 kB / 1.493 GB, free: 8.562 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.4673, allocations: 227.5 kB / 1.493 GB, free: 8.34 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.4673, allocations: 35.84 kB / 1.494 GB, free: 8.305 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.4674, allocations: 51.78 kB / 1.494 GB, free: 8.254 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004645/0.4679, allocations: 275 kB / 1.494 GB, free: 7.984 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4679, allocations: 0 / 1.494 GB, free: 7.984 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4679, allocations: 0 / 1.494 GB, free: 7.984 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4679, allocations: 3.938 kB / 1.494 GB, free: 7.98 MB / 1.186 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.0006567/0.4685, allocations: 397.3 kB / 1.494 GB, free: 7.562 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.4686, allocations: 8.031 kB / 1.494 GB, free: 7.555 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.019e-05/0.4686, allocations: 46.73 kB / 1.494 GB, free: 7.5 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004438/0.4691, allocations: 48.8 kB / 1.494 GB, free: 7.453 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.4694, allocations: 161.3 kB / 1.494 GB, free: 7.27 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.4694, allocations: 8 kB / 1.494 GB, free: 7.262 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.4694, allocations: 12 kB / 1.494 GB, free: 7.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.4696, allocations: 115.1 kB / 1.495 GB, free: 7.133 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4697, allocations: 0 / 1.495 GB, free: 7.133 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4697, allocations: 8 kB / 1.495 GB, free: 7.125 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4697, allocations: 0 / 1.495 GB, free: 7.125 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.4699, allocations: 95.86 kB / 1.495 GB, free: 7.031 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.4706, allocations: 403.4 kB / 1.495 GB, free: 6.594 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.4708, allocations: 86.48 kB / 1.495 GB, free: 6.5 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.4709, allocations: 40.94 kB / 1.495 GB, free: 6.457 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.471, allocations: 7.938 kB / 1.495 GB, free: 6.449 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.471, allocations: 30.56 kB / 1.495 GB, free: 6.41 MB / 1.186 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.471, allocations: 0 / 1.495 GB, free: 6.41 MB / 1.186 GB Notification: Performance of matching and sorting (n=7): time 0.0004414/0.4714, allocations: 145.6 kB / 1.495 GB, free: 6.262 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.4715, allocations: 59.34 kB / 1.495 GB, free: 6.191 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.4717, allocations: 190.7 kB / 1.496 GB, free: 5.996 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4717, allocations: 25.7 kB / 1.496 GB, free: 5.965 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.4718, allocations: 116 kB / 1.496 GB, free: 5.848 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.4718, allocations: 23.8 kB / 1.496 GB, free: 5.824 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.4718, allocations: 21.7 kB / 1.496 GB, free: 5.797 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.472, allocations: 326.8 kB / 1.496 GB, free: 5.469 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.4721, allocations: 27.98 kB / 1.496 GB, free: 5.441 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.4722, allocations: 39.95 kB / 1.496 GB, free: 5.402 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.4724, allocations: 72.83 kB / 1.496 GB, free: 5.328 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4724, allocations: 0 / 1.496 GB, free: 5.328 MB / 1.186 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002762/0.4727, allocations: 121.5 kB / 1.496 GB, free: 5.203 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4727, allocations: 4 kB / 1.496 GB, free: 5.199 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4727, allocations: 3.938 kB / 1.496 GB, free: 5.195 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4727, allocations: 0 / 1.496 GB, free: 5.195 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4728, allocations: 23.98 kB / 1.496 GB, free: 5.172 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4729, allocations: 0 / 1.496 GB, free: 5.172 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.4729, allocations: 11.89 kB / 1.496 GB, free: 5.16 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.473, allocations: 4 kB / 1.496 GB, free: 5.156 MB / 1.186 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.0001018/0.4731, allocations: 125.8 kB / 1.497 GB, free: 5.023 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.4731, allocations: 15.94 kB / 1.497 GB, free: 5.008 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.4734, allocations: 122.9 kB / 1.497 GB, free: 4.879 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.4734, allocations: 7.984 kB / 1.497 GB, free: 4.871 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4734, allocations: 4 kB / 1.497 GB, free: 4.867 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4734, allocations: 3.938 kB / 1.497 GB, free: 4.863 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.4737, allocations: 176.6 kB / 1.497 GB, free: 4.648 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4737, allocations: 4 kB / 1.497 GB, free: 4.645 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.4738, allocations: 15.98 kB / 1.497 GB, free: 4.629 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4738, allocations: 0 / 1.497 GB, free: 4.629 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.4738, allocations: 0 / 1.497 GB, free: 4.629 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4738, allocations: 4 kB / 1.497 GB, free: 4.625 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4738, allocations: 0 / 1.497 GB, free: 4.625 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.4741, allocations: 219.3 kB / 1.497 GB, free: 4.395 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.4741, allocations: 11.91 kB / 1.497 GB, free: 4.383 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4742, allocations: 0 / 1.497 GB, free: 4.383 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.4743, allocations: 11.98 kB / 1.497 GB, free: 4.371 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.4743, allocations: 11.92 kB / 1.497 GB, free: 4.359 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.4743, allocations: 0 / 1.497 GB, free: 4.359 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001217/0.4744, allocations: 135.2 kB / 1.497 GB, free: 4.227 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.4744, allocations: 0 / 1.497 GB, free: 4.227 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000255/0.4747, allocations: 24 kB / 1.497 GB, free: 4.203 MB / 1.186 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.0006607/0.4754, allocations: 0.7443 MB / 1.498 GB, free: 3.43 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.4756, allocations: 79.95 kB / 1.498 GB, free: 3.352 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4756, allocations: 0 / 1.498 GB, free: 3.352 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.4757, allocations: 35.97 kB / 1.498 GB, free: 3.316 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.4761, allocations: 47.75 kB / 1.498 GB, free: 3.27 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.4783, allocations: 1.756 MB / 1.5 GB, free: 1.441 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.469e-05/0.4784, allocations: 94.14 kB / 1.5 GB, free: 1.324 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 7.162e-05/0.4785, allocations: 16.97 kB / 1.5 GB, free: 1.309 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.4785, allocations: 35.42 kB / 1.5 GB, free: 1.273 MB / 1.186 GB Notification: Performance of SimCode: time 3.9e-07/0.4785, allocations: 0 / 1.5 GB, free: 1.273 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.5084, allocations: 3.863 MB / 1.504 GB, free: 13.57 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.13, allocations: 8.625 kB / 1.504 GB, free: 13.56 MB / 1.201 GB " [Timeout remaining time 289] (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: 17.27920020511374]