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.001624/0.001624, allocations: 103.7 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.001922/0.001922, allocations: 212.9 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.471/1.471, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.078/3.078, allocations: 0.49 GB / 0.7916 GB, free: 33.6 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.002175/0.002175, allocations: 70.64 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3349, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1932/0.5281, allocations: 152.3 MB / 1.47 GB, free: 10.44 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.5299, allocations: 1.153 MB / 1.471 GB, free: 9.281 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.5301, allocations: 4 kB / 1.471 GB, free: 9.277 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.5305, allocations: 67.66 kB / 1.471 GB, free: 9.211 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0009901/0.5315, allocations: 302.6 kB / 1.471 GB, free: 8.914 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.532, allocations: 175.3 kB / 1.471 GB, free: 8.742 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005063/0.5325, allocations: 219.3 kB / 1.471 GB, free: 8.527 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.5326, allocations: 45.08 kB / 1.471 GB, free: 8.484 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.5327, allocations: 55.8 kB / 1.472 GB, free: 8.43 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.5328, allocations: 67.61 kB / 1.472 GB, free: 8.363 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.5329, allocations: 12 kB / 1.472 GB, free: 8.352 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006652/0.5335, allocations: 379.2 kB / 1.472 GB, free: 7.98 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.5336, allocations: 31.91 kB / 1.472 GB, free: 7.949 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.641e-05/0.5337, allocations: 67.67 kB / 1.472 GB, free: 7.883 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.5343, allocations: 302.9 kB / 1.472 GB, free: 7.586 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5343, allocations: 0 / 1.472 GB, free: 7.586 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5343, allocations: 0 / 1.472 GB, free: 7.586 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.5343, allocations: 0 / 1.472 GB, free: 7.586 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.0008257/0.5351, allocations: 478.4 kB / 1.473 GB, free: 7.07 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.5352, allocations: 11.98 kB / 1.473 GB, free: 7.059 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.165e-05/0.5352, allocations: 42.75 kB / 1.473 GB, free: 7.008 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005029/0.5357, allocations: 52.8 kB / 1.473 GB, free: 6.957 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.5361, allocations: 215.9 kB / 1.473 GB, free: 6.707 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.5361, allocations: 8 kB / 1.473 GB, free: 6.699 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.5361, allocations: 12 kB / 1.473 GB, free: 6.688 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.5364, allocations: 115.3 kB / 1.473 GB, free: 6.57 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5364, allocations: 4 kB / 1.473 GB, free: 6.566 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5364, allocations: 0 / 1.473 GB, free: 6.566 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.5364, allocations: 4 kB / 1.473 GB, free: 6.562 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.5367, allocations: 95.88 kB / 1.473 GB, free: 6.469 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/0.5374, allocations: 456.2 kB / 1.474 GB, free: 5.973 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.5377, allocations: 86.55 kB / 1.474 GB, free: 5.879 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.5378, allocations: 44.94 kB / 1.474 GB, free: 5.832 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.5378, allocations: 3.938 kB / 1.474 GB, free: 5.828 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.5379, allocations: 34.5 kB / 1.474 GB, free: 5.785 MB / 1.17 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.5379, allocations: 0 / 1.474 GB, free: 5.785 MB / 1.17 GB Notification: Performance of matching and sorting (n=7): time 0.0004893/0.5383, allocations: 149.5 kB / 1.474 GB, free: 5.633 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.5384, allocations: 55.41 kB / 1.474 GB, free: 5.566 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.5386, allocations: 170.9 kB / 1.474 GB, free: 5.391 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.5386, allocations: 25.7 kB / 1.474 GB, free: 5.359 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.5387, allocations: 124 kB / 1.474 GB, free: 5.234 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.5387, allocations: 19.86 kB / 1.474 GB, free: 5.215 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.5388, allocations: 17.72 kB / 1.474 GB, free: 5.191 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5389, allocations: 334.8 kB / 1.475 GB, free: 4.855 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.5391, allocations: 31.97 kB / 1.475 GB, free: 4.824 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.5392, allocations: 31.97 kB / 1.475 GB, free: 4.793 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.5394, allocations: 72.77 kB / 1.475 GB, free: 4.719 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5394, allocations: 0 / 1.475 GB, free: 4.719 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003074/0.5397, allocations: 129.5 kB / 1.475 GB, free: 4.586 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5397, allocations: 4 kB / 1.475 GB, free: 4.582 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5397, allocations: 0 / 1.475 GB, free: 4.582 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5398, allocations: 0 / 1.475 GB, free: 4.582 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.5399, allocations: 15.98 kB / 1.475 GB, free: 4.566 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.5399, allocations: 7.984 kB / 1.475 GB, free: 4.559 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-05/0.54, allocations: 11.89 kB / 1.475 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.54, allocations: 0 / 1.475 GB, free: 4.547 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.0001143/0.5401, allocations: 137.7 kB / 1.475 GB, free: 4.402 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.5402, allocations: 11.94 kB / 1.475 GB, free: 4.391 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.5405, allocations: 119 kB / 1.475 GB, free: 4.27 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5405, allocations: 0 / 1.475 GB, free: 4.27 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5405, allocations: 4 kB / 1.475 GB, free: 4.266 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.5405, allocations: 0 / 1.475 GB, free: 4.266 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.5408, allocations: 237.4 kB / 1.476 GB, free: 3.984 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5408, allocations: 0 / 1.476 GB, free: 3.984 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.5409, allocations: 23.92 kB / 1.476 GB, free: 3.961 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5409, allocations: 0 / 1.476 GB, free: 3.961 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5409, allocations: 4 kB / 1.476 GB, free: 3.957 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5409, allocations: 0 / 1.476 GB, free: 3.957 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5409, allocations: 3.938 kB / 1.476 GB, free: 3.953 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.5413, allocations: 203.4 kB / 1.476 GB, free: 3.738 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.5413, allocations: 100.9 kB / 1.476 GB, free: 3.621 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.5414, allocations: 4 kB / 1.476 GB, free: 3.617 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.5415, allocations: 8 kB / 1.476 GB, free: 3.609 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.5415, allocations: 3.984 kB / 1.476 GB, free: 3.605 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.5415, allocations: 4 kB / 1.476 GB, free: 3.602 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001376/0.5417, allocations: 136.2 kB / 1.476 GB, free: 3.469 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5417, allocations: 0 / 1.476 GB, free: 3.469 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002606/0.5419, allocations: 20 kB / 1.476 GB, free: 3.449 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.0007556/0.5427, allocations: 0.752 MB / 1.477 GB, free: 2.668 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.543, allocations: 91.92 kB / 1.477 GB, free: 2.578 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.543, allocations: 0 / 1.477 GB, free: 2.578 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.5431, allocations: 31.98 kB / 1.477 GB, free: 2.547 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.5435, allocations: 39.81 kB / 1.477 GB, free: 2.508 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.5459, allocations: 1.751 MB / 1.479 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.5463, allocations: 0.7117 MB / 1.479 GB, free: 15.94 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 7.38e-05/0.5464, allocations: 8.891 kB / 1.479 GB, free: 15.93 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.5465, allocations: 43.42 kB / 1.479 GB, free: 15.89 MB / 1.186 GB Notification: Performance of SimCode: time 4.21e-07/0.5465, allocations: 0 / 1.479 GB, free: 15.89 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.5707, allocations: 3.211 MB / 1.483 GB, free: 12.81 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.442, allocations: 6.125 kB / 1.483 GB, free: 12.8 MB / 1.186 GB " [Timeout remaining time 291] (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: 14.975740015972406]