Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001391/0.001391, 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.001607/0.001607, allocations: 216.6 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.739/2.739, allocations: 476.7 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_11_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.002012/0.002012, allocations: 64.23 kB / 1.117 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3425, allocations: 169.9 MB / 1.283 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1899/0.5323, allocations: 152.3 MB / 1.432 GB, free: 10.9 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.5341, allocations: 1.172 MB / 1.433 GB, free: 9.727 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.5343, allocations: 4 kB / 1.433 GB, free: 9.723 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.5347, allocations: 55.67 kB / 1.433 GB, free: 9.668 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0009734/0.5357, allocations: 310.6 kB / 1.434 GB, free: 9.363 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.5362, allocations: 171.3 kB / 1.434 GB, free: 9.195 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0005751/0.5368, allocations: 223.3 kB / 1.434 GB, free: 8.977 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.5369, allocations: 41.28 kB / 1.434 GB, free: 8.934 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 9.673e-05/0.537, allocations: 55.78 kB / 1.434 GB, free: 8.879 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.5371, allocations: 63.64 kB / 1.434 GB, free: 8.816 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.5372, allocations: 12 kB / 1.434 GB, free: 8.805 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007318/0.5379, allocations: 387.2 kB / 1.435 GB, free: 8.426 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.538, allocations: 31.92 kB / 1.435 GB, free: 8.395 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 8.607e-05/0.538, allocations: 67.66 kB / 1.435 GB, free: 8.328 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.5386, allocations: 299 kB / 1.435 GB, free: 8.035 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5386, allocations: 0 / 1.435 GB, free: 8.035 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5386, allocations: 0 / 1.435 GB, free: 8.035 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5386, allocations: 0 / 1.435 GB, free: 8.035 MB / 1.139 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.0007737/0.5394, allocations: 397.3 kB / 1.435 GB, free: 7.617 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.5395, allocations: 12.03 kB / 1.435 GB, free: 7.605 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.06e-05/0.5395, allocations: 46.73 kB / 1.435 GB, free: 7.551 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005253/0.54, allocations: 48.8 kB / 1.435 GB, free: 7.504 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.5404, allocations: 159.9 kB / 1.436 GB, free: 7.324 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.5405, allocations: 8 kB / 1.436 GB, free: 7.316 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.5405, allocations: 12 kB / 1.436 GB, free: 7.305 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.5408, allocations: 118.7 kB / 1.436 GB, free: 7.184 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5408, allocations: 0 / 1.436 GB, free: 7.184 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.5408, allocations: 7.984 kB / 1.436 GB, free: 7.176 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.5408, allocations: 0 / 1.436 GB, free: 7.176 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.5411, allocations: 95.88 kB / 1.436 GB, free: 7.082 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008222/0.5419, allocations: 431.3 kB / 1.436 GB, free: 6.617 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.5421, allocations: 78.55 kB / 1.436 GB, free: 6.531 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.5422, allocations: 36.95 kB / 1.436 GB, free: 6.492 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.5423, allocations: 4 kB / 1.436 GB, free: 6.488 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.5423, allocations: 42.42 kB / 1.436 GB, free: 6.438 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 3.537e-06/0.5423, allocations: 7.938 kB / 1.436 GB, free: 6.43 MB / 1.139 GB Notification: Performance of matching and sorting (n=7): time 0.000471/0.5428, allocations: 141.5 kB / 1.437 GB, free: 6.285 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.5428, allocations: 55.41 kB / 1.437 GB, free: 6.219 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.5431, allocations: 184 kB / 1.437 GB, free: 6.031 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.5431, allocations: 25.7 kB / 1.437 GB, free: 6 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.5432, allocations: 124 kB / 1.437 GB, free: 5.875 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.5432, allocations: 27.77 kB / 1.437 GB, free: 5.848 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.5433, allocations: 21.72 kB / 1.437 GB, free: 5.82 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.5434, allocations: 330.8 kB / 1.437 GB, free: 5.488 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.5436, allocations: 27.98 kB / 1.437 GB, free: 5.461 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.5436, allocations: 31.97 kB / 1.437 GB, free: 5.43 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.5439, allocations: 76.75 kB / 1.437 GB, free: 5.352 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5439, allocations: 4 kB / 1.437 GB, free: 5.348 MB / 1.139 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002946/0.5441, allocations: 117.6 kB / 1.438 GB, free: 5.227 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5442, allocations: 8 kB / 1.438 GB, free: 5.219 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5442, allocations: 0 / 1.438 GB, free: 5.219 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.5442, allocations: 4 kB / 1.438 GB, free: 5.215 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.5443, allocations: 15.98 kB / 1.438 GB, free: 5.199 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.5443, allocations: 4 kB / 1.438 GB, free: 5.195 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.787e-05/0.5444, allocations: 7.984 kB / 1.438 GB, free: 5.188 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.5444, allocations: 4 kB / 1.438 GB, free: 5.184 MB / 1.139 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.0001309/0.5446, allocations: 129.7 kB / 1.438 GB, free: 5.047 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.5446, allocations: 11.91 kB / 1.438 GB, free: 5.035 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.545, allocations: 127 kB / 1.438 GB, free: 4.906 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.545, allocations: 3.984 kB / 1.438 GB, free: 4.902 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.545, allocations: 0 / 1.438 GB, free: 4.902 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.545, allocations: 4 kB / 1.438 GB, free: 4.898 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.5452, allocations: 196.5 kB / 1.438 GB, free: 4.664 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5452, allocations: 0 / 1.438 GB, free: 4.664 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.5453, allocations: 19.92 kB / 1.438 GB, free: 4.645 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5453, allocations: 0 / 1.438 GB, free: 4.645 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.5454, allocations: 8 kB / 1.438 GB, free: 4.637 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5454, allocations: 0 / 1.438 GB, free: 4.637 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5454, allocations: 0 / 1.438 GB, free: 4.637 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.5457, allocations: 215.3 kB / 1.438 GB, free: 4.41 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.5457, allocations: 15.84 kB / 1.438 GB, free: 4.395 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.5457, allocations: 8 kB / 1.438 GB, free: 4.387 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.5458, allocations: 7.984 kB / 1.438 GB, free: 4.379 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.5459, allocations: 3.984 kB / 1.438 GB, free: 4.375 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.5459, allocations: 4 kB / 1.438 GB, free: 4.371 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001261/0.546, allocations: 131.2 kB / 1.438 GB, free: 4.242 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.546, allocations: 3.938 kB / 1.438 GB, free: 4.238 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002479/0.5463, allocations: 20 kB / 1.438 GB, free: 4.219 MB / 1.139 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.0007271/0.547, allocations: 0.752 MB / 1.439 GB, free: 3.438 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.5473, allocations: 79.95 kB / 1.439 GB, free: 3.359 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5473, allocations: 0 / 1.439 GB, free: 3.359 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.5474, allocations: 35.97 kB / 1.439 GB, free: 3.324 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.5478, allocations: 39.91 kB / 1.439 GB, free: 3.285 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.5502, allocations: 1.755 MB / 1.441 GB, free: 1.457 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.5506, allocations: 0.7119 MB / 1.442 GB, free: 0.7188 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 8.234e-05/0.5506, allocations: 12.97 kB / 1.442 GB, free: 0.707 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.5507, allocations: 35.42 kB / 1.442 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of SimCode: time 7.92e-07/0.5507, allocations: 0 / 1.442 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.5822, allocations: 3.333 MB / 1.445 GB, free: 13.49 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.26, allocations: 4.062 kB / 1.445 GB, free: 13.48 MB / 1.154 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.TSur from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.mWat_flow in file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.mWat_flow from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.Gc in file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.Gc from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.XInf in file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.XInf from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.660877112999515]