Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.345/2.345, allocations: 443.5 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 71.89 kB / 1.059 GB, free: 0.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2522, allocations: 160.7 MB / 1.216 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6259/0.8782, allocations: 149.5 MB / 1.362 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.8796, allocations: 1.136 MB / 1.363 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.8797, allocations: 1.219 kB / 1.363 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.88, allocations: 60.16 kB / 1.363 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006847/0.8807, allocations: 319.6 kB / 1.363 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.881, allocations: 167.6 kB / 1.363 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.8814, allocations: 223.6 kB / 1.363 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.8815, allocations: 45.53 kB / 1.363 GB, free: 6 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.8816, allocations: 52.34 kB / 1.363 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.8817, allocations: 61.3 kB / 1.364 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.8817, allocations: 11.47 kB / 1.364 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005626/0.8823, allocations: 381.2 kB / 1.364 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.8823, allocations: 27.53 kB / 1.364 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.8824, allocations: 67.58 kB / 1.364 GB, free: 5.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.8828, allocations: 292.5 kB / 1.364 GB, free: 5.641 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8828, allocations: 1.125 kB / 1.364 GB, free: 5.641 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8828, allocations: 0 / 1.364 GB, free: 5.641 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.8828, allocations: 0 / 1.364 GB, free: 5.641 MB / 1.045 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.0006294/0.8834, allocations: 474.8 kB / 1.365 GB, free: 5.203 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.8835, allocations: 9.312 kB / 1.365 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.352e-05/0.8835, allocations: 50.05 kB / 1.365 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.8838, allocations: 39.59 kB / 1.365 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.884, allocations: 206 kB / 1.365 GB, free: 4.922 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.884, allocations: 12.78 kB / 1.365 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.8841, allocations: 10.28 kB / 1.365 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.8843, allocations: 124.3 kB / 1.365 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8843, allocations: 0 / 1.365 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.8843, allocations: 4 kB / 1.365 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.8843, allocations: 2.688 kB / 1.365 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.8846, allocations: 94.14 kB / 1.365 GB, free: 4.812 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.8852, allocations: 462.1 kB / 1.366 GB, free: 4.441 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.8854, allocations: 93.56 kB / 1.366 GB, free: 4.387 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.8856, allocations: 40.23 kB / 1.366 GB, free: 4.367 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.8856, allocations: 1.766 kB / 1.366 GB, free: 4.367 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.8856, allocations: 35.75 kB / 1.366 GB, free: 4.324 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.8856, allocations: 1.375 kB / 1.366 GB, free: 4.324 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004208/0.886, allocations: 140.8 kB / 1.366 GB, free: 4.258 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.8861, allocations: 52.53 kB / 1.366 GB, free: 4.195 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.8862, allocations: 184.9 kB / 1.366 GB, free: 4.066 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.8862, allocations: 27.11 kB / 1.366 GB, free: 4.035 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.8863, allocations: 118.3 kB / 1.366 GB, free: 3.926 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.8863, allocations: 21.75 kB / 1.366 GB, free: 3.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.8864, allocations: 20 kB / 1.366 GB, free: 3.891 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8865, allocations: 337.4 kB / 1.367 GB, free: 3.559 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.8866, allocations: 30.2 kB / 1.367 GB, free: 3.551 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.454e-05/0.8867, allocations: 33.08 kB / 1.367 GB, free: 3.543 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.8869, allocations: 69.38 kB / 1.367 GB, free: 3.516 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8869, allocations: 0 / 1.367 GB, free: 3.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002608/0.8872, allocations: 128.7 kB / 1.367 GB, free: 3.449 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.8872, allocations: 6.219 kB / 1.367 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.8872, allocations: 0 / 1.367 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8872, allocations: 0 / 1.367 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.8873, allocations: 22.28 kB / 1.367 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.8873, allocations: 1.438 kB / 1.367 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.8874, allocations: 14.83 kB / 1.367 GB, free: 3.438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.8874, allocations: 1.438 kB / 1.367 GB, free: 3.438 MB / 1.045 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.465e-05/0.8875, allocations: 129.5 kB / 1.367 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.8876, allocations: 9.391 kB / 1.367 GB, free: 3.305 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.8879, allocations: 130.2 kB / 1.367 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.8879, allocations: 1.062 kB / 1.367 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.8879, allocations: 3.938 kB / 1.367 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8879, allocations: 1.781 kB / 1.367 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.8881, allocations: 218.7 kB / 1.367 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8881, allocations: 0 / 1.367 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.8882, allocations: 25.95 kB / 1.368 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8882, allocations: 3.938 kB / 1.368 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.8882, allocations: 1.219 kB / 1.368 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8882, allocations: 0 / 1.368 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8882, allocations: 1.469 kB / 1.368 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.8885, allocations: 210.7 kB / 1.368 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.8886, allocations: 95.36 kB / 1.368 GB, free: 2.738 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.8886, allocations: 5.344 kB / 1.368 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.8887, allocations: 10.08 kB / 1.368 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.8887, allocations: 8.172 kB / 1.368 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.8887, allocations: 1 kB / 1.368 GB, free: 2.727 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001076/0.8888, allocations: 135.8 kB / 1.368 GB, free: 2.633 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8888, allocations: 3.938 kB / 1.368 GB, free: 2.629 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002271/0.8891, allocations: 18.44 kB / 1.368 GB, free: 2.629 MB / 1.045 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.000611/0.8897, allocations: 0.7511 MB / 1.369 GB, free: 1.934 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.8899, allocations: 75.58 kB / 1.369 GB, free: 1.914 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8899, allocations: 4 kB / 1.369 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.89, allocations: 34.81 kB / 1.369 GB, free: 1.902 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.8904, allocations: 29.28 kB / 1.369 GB, free: 1.895 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.8924, allocations: 1.758 MB / 1.371 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.8927, allocations: 0.7049 MB / 1.371 GB, free: 15.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.466e-05/0.8927, allocations: 23.42 kB / 1.371 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.8928, allocations: 40.42 kB / 1.371 GB, free: 15.77 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.8928, allocations: 0 / 1.371 GB, free: 15.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.9161, allocations: 3.182 MB / 1.374 GB, free: 15.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/8.071, allocations: 15.84 kB / 1.374 GB, free: 15.29 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.TSur from file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.mWat_flow in file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.mWat_flow from file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.Gc in file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.Gc from file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.XInf in file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.XInf from file Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.247580500996264]