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.001617/0.001617, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002034/0.002034, allocations: 220.9 kB / 22.25 MB, free: 5.102 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.816 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.218/3.218, allocations: 0.49 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] 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.001986/0.001986, allocations: 74.23 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3385, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1679/0.5064, allocations: 131 MB / 1.454 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.5081, allocations: 1.052 MB / 1.455 GB, free: 12.92 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.738e-05/0.5082, allocations: 0 / 1.455 GB, free: 12.92 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.5085, allocations: 51.69 kB / 1.455 GB, free: 12.87 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0007777/0.5093, allocations: 310.6 kB / 1.455 GB, free: 12.57 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.5097, allocations: 167.3 kB / 1.455 GB, free: 12.4 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.5101, allocations: 227.3 kB / 1.456 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.5103, allocations: 45.22 kB / 1.456 GB, free: 12.14 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.5104, allocations: 55.78 kB / 1.456 GB, free: 12.08 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.5105, allocations: 59.75 kB / 1.456 GB, free: 12.02 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.5105, allocations: 19.94 kB / 1.456 GB, free: 12 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.5109, allocations: 239.5 kB / 1.456 GB, free: 11.77 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.5109, allocations: 27.92 kB / 1.456 GB, free: 11.74 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.511, allocations: 47.73 kB / 1.456 GB, free: 11.7 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.5114, allocations: 279.1 kB / 1.456 GB, free: 11.42 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5114, allocations: 0 / 1.456 GB, free: 11.42 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5115, allocations: 0 / 1.456 GB, free: 11.42 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.5115, allocations: 0 / 1.456 GB, free: 11.42 MB / 1.154 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.0006765/0.5121, allocations: 409.2 kB / 1.457 GB, free: 10.99 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5122, allocations: 12.03 kB / 1.457 GB, free: 10.98 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.5122, allocations: 42.67 kB / 1.457 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004531/0.5127, allocations: 52.8 kB / 1.457 GB, free: 10.88 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.513, allocations: 142.1 kB / 1.457 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.513, allocations: 8 kB / 1.457 GB, free: 10.71 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.513, allocations: 12 kB / 1.457 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.5133, allocations: 121.6 kB / 1.457 GB, free: 10.57 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5133, allocations: 4 kB / 1.457 GB, free: 10.57 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.5133, allocations: 4 kB / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5133, allocations: 0 / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.5136, allocations: 91.88 kB / 1.457 GB, free: 10.47 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.5143, allocations: 403.4 kB / 1.458 GB, free: 10.04 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.5145, allocations: 90.48 kB / 1.458 GB, free: 9.938 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.5146, allocations: 36.94 kB / 1.458 GB, free: 9.898 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.5146, allocations: 4 kB / 1.458 GB, free: 9.895 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5146, allocations: 30.56 kB / 1.458 GB, free: 9.855 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.5146, allocations: 0 / 1.458 GB, free: 9.855 MB / 1.154 GB Notification: Performance of matching and sorting (n=7): time 0.0004451/0.5151, allocations: 137.6 kB / 1.458 GB, free: 9.715 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.5151, allocations: 59.41 kB / 1.458 GB, free: 9.645 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.5153, allocations: 179.5 kB / 1.458 GB, free: 9.461 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.5153, allocations: 25.7 kB / 1.458 GB, free: 9.43 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.5154, allocations: 123.9 kB / 1.458 GB, free: 9.305 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.5155, allocations: 27.78 kB / 1.458 GB, free: 9.277 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.5155, allocations: 17.72 kB / 1.458 GB, free: 9.254 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5156, allocations: 326.8 kB / 1.459 GB, free: 8.926 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.5157, allocations: 31.97 kB / 1.459 GB, free: 8.895 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.912e-05/0.5158, allocations: 39.92 kB / 1.459 GB, free: 8.855 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.516, allocations: 80.81 kB / 1.459 GB, free: 8.773 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5161, allocations: 0 / 1.459 GB, free: 8.773 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002663/0.5163, allocations: 121.5 kB / 1.459 GB, free: 8.648 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5163, allocations: 4 kB / 1.459 GB, free: 8.645 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5163, allocations: 0 / 1.459 GB, free: 8.645 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5164, allocations: 0 / 1.459 GB, free: 8.645 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5165, allocations: 23.92 kB / 1.459 GB, free: 8.621 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5165, allocations: 4 kB / 1.459 GB, free: 8.617 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.11e-05/0.5166, allocations: 15.94 kB / 1.459 GB, free: 8.602 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.5166, allocations: 4 kB / 1.459 GB, free: 8.598 MB / 1.154 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.0001022/0.5167, allocations: 122.3 kB / 1.459 GB, free: 8.469 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.5167, allocations: 11.95 kB / 1.459 GB, free: 8.457 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.517, allocations: 123 kB / 1.459 GB, free: 8.328 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5171, allocations: 0 / 1.459 GB, free: 8.328 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5171, allocations: 0 / 1.459 GB, free: 8.328 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.5171, allocations: 0 / 1.459 GB, free: 8.328 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.5173, allocations: 196.5 kB / 1.459 GB, free: 8.094 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5173, allocations: 0 / 1.459 GB, free: 8.094 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.5174, allocations: 19.98 kB / 1.459 GB, free: 8.074 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.5174, allocations: 0 / 1.459 GB, free: 8.074 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.5174, allocations: 3.984 kB / 1.459 GB, free: 8.07 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5174, allocations: 0 / 1.459 GB, free: 8.07 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5174, allocations: 0 / 1.459 GB, free: 8.07 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.5177, allocations: 204 kB / 1.46 GB, free: 7.855 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.5177, allocations: 27.83 kB / 1.46 GB, free: 7.828 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.5178, allocations: 0 / 1.46 GB, free: 7.828 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.5179, allocations: 4 kB / 1.46 GB, free: 7.824 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.5179, allocations: 7.984 kB / 1.46 GB, free: 7.816 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.5179, allocations: 0 / 1.46 GB, free: 7.816 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001146/0.518, allocations: 143.5 kB / 1.46 GB, free: 7.676 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.518, allocations: 0 / 1.46 GB, free: 7.676 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002542/0.5183, allocations: 20 kB / 1.46 GB, free: 7.656 MB / 1.154 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.000669/0.519, allocations: 0.7553 MB / 1.46 GB, free: 6.871 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.5192, allocations: 75.89 kB / 1.461 GB, free: 6.797 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.5192, allocations: 3.938 kB / 1.461 GB, free: 6.793 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.5193, allocations: 35.98 kB / 1.461 GB, free: 6.758 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.5197, allocations: 43.44 kB / 1.461 GB, free: 6.719 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.5219, allocations: 1.759 MB / 1.462 GB, free: 4.875 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.613e-05/0.522, allocations: 106.1 kB / 1.462 GB, free: 4.75 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 6.924e-05/0.5221, allocations: 8.969 kB / 1.462 GB, free: 4.742 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/0.5221, allocations: 39.44 kB / 1.462 GB, free: 4.707 MB / 1.154 GB Notification: Performance of SimCode: time 6.02e-07/0.5221, allocations: 0 / 1.462 GB, free: 4.707 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.552, allocations: 3.905 MB / 1.466 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.85, allocations: 4.062 kB / 1.466 GB, free: 0.9688 MB / 1.154 GB " [Timeout remaining time 288] (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: 18.665097418997902]