Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000811/0.000811, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008074/0.0008074, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8572/0.8572, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.755/1.755, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.853e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.6253/0.6254, allocations: 131 MB / 1.128 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.6265, allocations: 1.05 MB / 1.129 GB, free: 2.137 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.6267, allocations: 1.469 kB / 1.129 GB, free: 2.137 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.627, allocations: 48.89 kB / 1.129 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000854/0.6279, allocations: 321.6 kB / 1.129 GB, free: 1.953 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.6284, allocations: 170.8 kB / 1.129 GB, free: 1.867 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.6289, allocations: 228.8 kB / 1.129 GB, free: 1.762 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.629, allocations: 47.61 kB / 1.129 GB, free: 1.738 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.6292, allocations: 73.5 kB / 1.13 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.494e-05/0.6293, allocations: 49.56 kB / 1.13 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.6293, allocations: 12.09 kB / 1.13 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004425/0.6297, allocations: 234.2 kB / 1.13 GB, free: 1.617 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.6298, allocations: 34.78 kB / 1.13 GB, free: 1.594 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.6299, allocations: 44.52 kB / 1.13 GB, free: 1.57 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.6304, allocations: 277 kB / 1.13 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6304, allocations: 1.188 kB / 1.13 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6304, allocations: 4.734 kB / 1.13 GB, free: 1.473 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.6304, allocations: 0 / 1.13 GB, free: 1.473 MB / 0.9948 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.0006886/0.6311, allocations: 408.7 kB / 1.131 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.6311, allocations: 9.938 kB / 1.131 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.6312, allocations: 45.14 kB / 1.131 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.6315, allocations: 47.16 kB / 1.131 GB, free: 1.07 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.6319, allocations: 150.5 kB / 1.131 GB, free: 0.918 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.6319, allocations: 16.64 kB / 1.131 GB, free: 0.9062 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.6319, allocations: 6.438 kB / 1.131 GB, free: 0.9062 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.6322, allocations: 116.7 kB / 1.131 GB, free: 0.8438 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.6322, allocations: 1.125 kB / 1.131 GB, free: 0.8438 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.6322, allocations: 5.125 kB / 1.131 GB, free: 0.8398 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.6322, allocations: 2.344 kB / 1.131 GB, free: 0.8398 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.6324, allocations: 92.42 kB / 1.131 GB, free: 0.8125 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/0.633, allocations: 403.6 kB / 1.131 GB, free: 496 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.6332, allocations: 88.27 kB / 1.132 GB, free: 444 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.63e-05/0.6333, allocations: 36.17 kB / 1.132 GB, free: 428 kB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.6333, allocations: 1.562 kB / 1.132 GB, free: 428 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.6333, allocations: 40.94 kB / 1.132 GB, free: 380 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.6333, allocations: 3.094 kB / 1.132 GB, free: 380 kB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.0003437/0.6337, allocations: 136.5 kB / 1.132 GB, free: 316 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.6337, allocations: 54.39 kB / 1.132 GB, free: 252 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.6338, allocations: 188 kB / 1.132 GB, free: 116 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.6338, allocations: 25.7 kB / 1.132 GB, free: 84 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.6339, allocations: 111 kB / 1.132 GB, free: 15.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.634, allocations: 25.27 kB / 1.132 GB, free: 15.96 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.634, allocations: 19.91 kB / 1.132 GB, free: 15.94 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6341, allocations: 325.9 kB / 1.132 GB, free: 15.62 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.6342, allocations: 38.89 kB / 1.132 GB, free: 15.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.6343, allocations: 35.3 kB / 1.132 GB, free: 15.59 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.6344, allocations: 74.84 kB / 1.133 GB, free: 15.57 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6344, allocations: 8.75 kB / 1.133 GB, free: 15.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001975/0.6346, allocations: 114.5 kB / 1.133 GB, free: 15.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.6346, allocations: 5.812 kB / 1.133 GB, free: 15.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6347, allocations: 0.75 kB / 1.133 GB, free: 15.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6347, allocations: 4 kB / 1.133 GB, free: 15.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.6348, allocations: 26.61 kB / 1.133 GB, free: 15.49 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6348, allocations: 0 / 1.133 GB, free: 15.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.6348, allocations: 16.23 kB / 1.133 GB, free: 15.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.6348, allocations: 1.438 kB / 1.133 GB, free: 15.48 MB / 1.01 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.196e-05/0.6349, allocations: 126.2 kB / 1.133 GB, free: 15.36 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.635, allocations: 9.578 kB / 1.133 GB, free: 15.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.6352, allocations: 132.4 kB / 1.133 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6352, allocations: 1.406 kB / 1.133 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6352, allocations: 0 / 1.133 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6352, allocations: 2.047 kB / 1.133 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.6354, allocations: 180.6 kB / 1.133 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6354, allocations: 0 / 1.133 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.6355, allocations: 15.39 kB / 1.133 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.6355, allocations: 1.469 kB / 1.133 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.6355, allocations: 0.7031 kB / 1.133 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6355, allocations: 1.312 kB / 1.133 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6355, allocations: 3.938 kB / 1.133 GB, free: 15.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.6358, allocations: 210 kB / 1.133 GB, free: 14.94 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.6358, allocations: 17.5 kB / 1.133 GB, free: 14.93 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.6358, allocations: 9.719 kB / 1.133 GB, free: 14.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.6359, allocations: 6.969 kB / 1.133 GB, free: 14.92 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.6359, allocations: 4.609 kB / 1.133 GB, free: 14.92 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.6359, allocations: 6.062 kB / 1.133 GB, free: 14.92 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.898e-05/0.636, allocations: 133.5 kB / 1.134 GB, free: 14.83 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.636, allocations: 2.031 kB / 1.134 GB, free: 14.83 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001808/0.6362, allocations: 28.94 kB / 1.134 GB, free: 14.82 MB / 1.01 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.0005813/0.6368, allocations: 0.7423 MB / 1.134 GB, free: 14.13 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.637, allocations: 78.08 kB / 1.134 GB, free: 14.11 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.637, allocations: 0 / 1.134 GB, free: 14.11 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/0.637, allocations: 43.31 kB / 1.134 GB, free: 14.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.6373, allocations: 37.59 kB / 1.134 GB, free: 14.09 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.639, allocations: 1.76 MB / 1.136 GB, free: 12.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/0.6391, allocations: 95.2 kB / 1.136 GB, free: 12.63 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 6.426e-05/0.6391, allocations: 14.92 kB / 1.136 GB, free: 12.63 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.6392, allocations: 37.52 kB / 1.136 GB, free: 12.6 MB / 1.01 GB Notification: Performance of SimCode: time 7.01e-07/0.6392, allocations: 0 / 1.136 GB, free: 12.6 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.6599, allocations: 4.004 MB / 1.14 GB, free: 11.53 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.482, allocations: 8.719 kB / 1.14 GB, free: 11.53 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.TSur from file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.mWat_flow in file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.mWat_flow from file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.Gc in file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.Gc from file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! Error: Could not read variable masExc.XInf in file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv. Warning: Get data of variable masExc.XInf from file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.62728136125952]