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.001858/0.001858, 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.002483/0.002483, allocations: 215.5 kB / 22.26 MB, free: 5.082 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 8.027 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.036/3.036, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] 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.00196/0.00196, allocations: 67.03 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2995, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1738/0.4733, allocations: 152.3 MB / 1.475 GB, free: 9.008 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.4749, allocations: 1.168 MB / 1.476 GB, free: 7.836 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.4749, allocations: 4 kB / 1.476 GB, free: 7.832 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.4753, allocations: 63.61 kB / 1.476 GB, free: 7.77 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.476, allocations: 306.7 kB / 1.476 GB, free: 7.469 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.4763, allocations: 175.3 kB / 1.476 GB, free: 7.297 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.4767, allocations: 223.3 kB / 1.477 GB, free: 7.078 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.4768, allocations: 41.27 kB / 1.477 GB, free: 7.039 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 7.535e-05/0.4769, allocations: 55.73 kB / 1.477 GB, free: 6.984 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.477, allocations: 67.69 kB / 1.477 GB, free: 6.918 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.477, allocations: 8 kB / 1.477 GB, free: 6.91 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005641/0.4776, allocations: 391.2 kB / 1.477 GB, free: 6.527 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.4776, allocations: 23.92 kB / 1.477 GB, free: 6.504 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.4777, allocations: 63.67 kB / 1.477 GB, free: 6.441 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.4781, allocations: 310.9 kB / 1.477 GB, free: 6.137 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4782, allocations: 0 / 1.477 GB, free: 6.137 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4782, allocations: 0 / 1.477 GB, free: 6.137 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4782, allocations: 0 / 1.477 GB, free: 6.137 MB / 1.17 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.0006454/0.4788, allocations: 397.3 kB / 1.478 GB, free: 5.719 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.4788, allocations: 12.03 kB / 1.478 GB, free: 5.707 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.4789, allocations: 46.73 kB / 1.478 GB, free: 5.652 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.4793, allocations: 48.73 kB / 1.478 GB, free: 5.605 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.4796, allocations: 154.1 kB / 1.478 GB, free: 5.43 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4796, allocations: 8 kB / 1.478 GB, free: 5.422 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.4796, allocations: 8 kB / 1.478 GB, free: 5.414 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.4799, allocations: 117.6 kB / 1.478 GB, free: 5.293 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4799, allocations: 0 / 1.478 GB, free: 5.293 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4799, allocations: 4 kB / 1.478 GB, free: 5.289 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4799, allocations: 4 kB / 1.478 GB, free: 5.285 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.4802, allocations: 91.88 kB / 1.478 GB, free: 5.195 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.4809, allocations: 431.3 kB / 1.479 GB, free: 4.73 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.4811, allocations: 90.47 kB / 1.479 GB, free: 4.633 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.4812, allocations: 40.88 kB / 1.479 GB, free: 4.59 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.4812, allocations: 3.984 kB / 1.479 GB, free: 4.586 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.4813, allocations: 38.56 kB / 1.479 GB, free: 4.539 MB / 1.17 GB Notification: Performance of pre-optimization done (n=7): time 2.786e-06/0.4813, allocations: 7.984 kB / 1.479 GB, free: 4.531 MB / 1.17 GB Notification: Performance of matching and sorting (n=7): time 0.0004418/0.4817, allocations: 133.6 kB / 1.479 GB, free: 4.395 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.4817, allocations: 51.41 kB / 1.479 GB, free: 4.332 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.4819, allocations: 183.5 kB / 1.479 GB, free: 4.145 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.482, allocations: 25.7 kB / 1.479 GB, free: 4.113 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.482, allocations: 116 kB / 1.479 GB, free: 3.996 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.4821, allocations: 27.8 kB / 1.479 GB, free: 3.969 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.4821, allocations: 25.7 kB / 1.479 GB, free: 3.938 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4822, allocations: 322.8 kB / 1.48 GB, free: 3.613 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.4824, allocations: 31.92 kB / 1.48 GB, free: 3.582 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/0.4825, allocations: 39.97 kB / 1.48 GB, free: 3.543 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.4827, allocations: 72.81 kB / 1.48 GB, free: 3.469 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4827, allocations: 4 kB / 1.48 GB, free: 3.465 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002666/0.4829, allocations: 117.5 kB / 1.48 GB, free: 3.344 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.483, allocations: 5.875 kB / 1.48 GB, free: 3.34 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.483, allocations: 0 / 1.48 GB, free: 3.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.483, allocations: 4 kB / 1.48 GB, free: 3.336 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.4831, allocations: 19.92 kB / 1.48 GB, free: 3.316 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4831, allocations: 0 / 1.48 GB, free: 3.316 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.683e-05/0.4832, allocations: 19.95 kB / 1.48 GB, free: 3.297 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4832, allocations: 3.938 kB / 1.48 GB, free: 3.293 MB / 1.17 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.0001072/0.4833, allocations: 128 kB / 1.48 GB, free: 3.16 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.4833, allocations: 11.95 kB / 1.48 GB, free: 3.148 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.4837, allocations: 115 kB / 1.48 GB, free: 3.027 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4837, allocations: 0 / 1.48 GB, free: 3.027 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4837, allocations: 3.984 kB / 1.48 GB, free: 3.023 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4837, allocations: 3.938 kB / 1.48 GB, free: 3.02 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.4839, allocations: 212.5 kB / 1.481 GB, free: 2.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4839, allocations: 0 / 1.481 GB, free: 2.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.484, allocations: 19.98 kB / 1.481 GB, free: 2.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.484, allocations: 0 / 1.481 GB, free: 2.75 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.484, allocations: 3.938 kB / 1.481 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.484, allocations: 0 / 1.481 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.484, allocations: 0 / 1.481 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.4843, allocations: 212 kB / 1.481 GB, free: 2.523 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.4844, allocations: 15.89 kB / 1.481 GB, free: 2.508 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.4844, allocations: 0 / 1.481 GB, free: 2.508 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.4845, allocations: 4 kB / 1.481 GB, free: 2.504 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.4845, allocations: 15.92 kB / 1.481 GB, free: 2.488 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.4845, allocations: 0 / 1.481 GB, free: 2.488 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001188/0.4847, allocations: 139.5 kB / 1.481 GB, free: 2.352 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.4847, allocations: 0 / 1.481 GB, free: 2.352 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002539/0.4849, allocations: 28 kB / 1.481 GB, free: 2.324 MB / 1.17 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.000683/0.4856, allocations: 0.7475 MB / 1.482 GB, free: 1.547 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.4859, allocations: 79.89 kB / 1.482 GB, free: 1.469 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4859, allocations: 0 / 1.482 GB, free: 1.469 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.486, allocations: 35.97 kB / 1.482 GB, free: 1.434 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.4864, allocations: 31.92 kB / 1.482 GB, free: 1.402 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.4886, allocations: 1.763 MB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.4889, allocations: 0.7117 MB / 1.484 GB, free: 14.82 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 6.302e-05/0.489, allocations: 16.95 kB / 1.484 GB, free: 14.8 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.4891, allocations: 39.36 kB / 1.484 GB, free: 14.76 MB / 1.186 GB Notification: Performance of SimCode: time 3.31e-07/0.4891, allocations: 0 / 1.484 GB, free: 14.76 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.5165, allocations: 3.334 MB / 1.488 GB, free: 11.59 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.93, allocations: 2.469 kB / 1.488 GB, free: 11.59 MB / 1.186 GB " [Timeout remaining time 289] (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: 17.29878566300067]