Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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: 101.5 kB / 19.73 MB, free: 2.23 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.001524/0.001524, allocations: 216.5 kB / 23.04 MB, free: 5.074 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 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 2.942/2.942, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",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.00187/0.00187, allocations: 60.88 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3033, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1892/0.4925, allocations: 174.5 MB / 1.516 GB, free: 1.297 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005306/0.4978, allocations: 3.405 MB / 1.519 GB, free: 13.89 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.4982, allocations: 35.69 kB / 1.519 GB, free: 13.85 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0008592/0.4991, allocations: 330.1 kB / 1.519 GB, free: 13.53 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.5013, allocations: 1.073 MB / 1.52 GB, free: 12.45 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.5028, allocations: 0.6974 MB / 1.521 GB, free: 11.76 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001832/0.5046, allocations: 1.572 MB / 1.523 GB, free: 10.18 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.5052, allocations: 385.9 kB / 1.523 GB, free: 9.801 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.5063, allocations: 0.7396 MB / 1.524 GB, free: 9.059 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.5073, allocations: 487.5 kB / 1.524 GB, free: 8.582 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.359e-05/0.5074, allocations: 56 kB / 1.524 GB, free: 8.527 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.5088, allocations: 0.8885 MB / 1.525 GB, free: 7.637 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.5091, allocations: 255.3 kB / 1.525 GB, free: 7.387 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.5094, allocations: 330.5 kB / 1.526 GB, free: 7.062 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.5108, allocations: 1.141 MB / 1.527 GB, free: 5.918 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5108, allocations: 0 / 1.527 GB, free: 5.918 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5108, allocations: 0 / 1.527 GB, free: 5.918 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.5108, allocations: 0 / 1.527 GB, free: 5.918 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00137/0.5122, allocations: 0.8665 MB / 1.528 GB, free: 5.02 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.5122, allocations: 8.031 kB / 1.528 GB, free: 5.012 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.84e-05/0.5122, allocations: 13 kB / 1.528 GB, free: 5 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.307e-05/0.5123, allocations: 78.53 kB / 1.528 GB, free: 4.914 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.5134, allocations: 187.4 kB / 1.528 GB, free: 4.73 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007748/0.5142, allocations: 462.5 kB / 1.528 GB, free: 4.254 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.5142, allocations: 33 kB / 1.528 GB, free: 4.219 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/0.5143, allocations: 47.98 kB / 1.528 GB, free: 4.172 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.5151, allocations: 470.4 kB / 1.529 GB, free: 3.707 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.5151, allocations: 3.938 kB / 1.529 GB, free: 3.703 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.5152, allocations: 16 kB / 1.529 GB, free: 3.688 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.5152, allocations: 24.94 kB / 1.529 GB, free: 3.664 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006588/0.5158, allocations: 415.7 kB / 1.529 GB, free: 3.258 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.5183, allocations: 1.76 MB / 1.531 GB, free: 1.352 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.5188, allocations: 286.6 kB / 1.531 GB, free: 1.062 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.519, allocations: 178.4 kB / 1.532 GB, free: 0.8867 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.5191, allocations: 15.98 kB / 1.532 GB, free: 0.8711 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.5192, allocations: 38.56 kB / 1.532 GB, free: 0.8242 MB / 1.217 GB Notification: Performance of pre-optimization done (n=31): time 1.312e-06/0.5192, allocations: 3.938 kB / 1.532 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of matching and sorting (n=33): time 0.001868/0.521, allocations: 0.9982 MB / 1.533 GB, free: 15.79 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.5211, allocations: 55.41 kB / 1.533 GB, free: 15.72 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.5216, allocations: 457.9 kB / 1.533 GB, free: 15.27 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.5216, allocations: 37.7 kB / 1.533 GB, free: 15.22 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.5218, allocations: 248.5 kB / 1.533 GB, free: 14.97 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.5219, allocations: 119 kB / 1.533 GB, free: 14.86 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.522, allocations: 69.69 kB / 1.533 GB, free: 14.78 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5222, allocations: 362.8 kB / 1.534 GB, free: 14.42 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.5224, allocations: 127.9 kB / 1.534 GB, free: 14.29 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.5227, allocations: 193.9 kB / 1.534 GB, free: 14.08 MB / 1.232 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.5246, allocations: 0.7872 MB / 1.535 GB, free: 13.27 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5246, allocations: 3.75 kB / 1.535 GB, free: 13.27 MB / 1.232 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006383/0.5252, allocations: 420.9 kB / 1.535 GB, free: 12.86 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.5252, allocations: 7.938 kB / 1.535 GB, free: 12.85 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5252, allocations: 4 kB / 1.535 GB, free: 12.84 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5252, allocations: 0 / 1.535 GB, free: 12.84 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.5255, allocations: 71.91 kB / 1.535 GB, free: 12.77 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.5255, allocations: 7.938 kB / 1.535 GB, free: 12.77 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.5259, allocations: 11.98 kB / 1.535 GB, free: 12.75 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.5259, allocations: 16 kB / 1.535 GB, free: 12.74 MB / 1.232 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002637/0.5262, allocations: 217.7 kB / 1.536 GB, free: 12.52 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/0.5263, allocations: 55.67 kB / 1.536 GB, free: 12.46 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.5264, allocations: 60.75 kB / 1.536 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5264, allocations: 4 kB / 1.536 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5264, allocations: 0 / 1.536 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005005/0.5269, allocations: 404.3 kB / 1.536 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.5287, allocations: 1.219 MB / 1.537 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5288, allocations: 4 kB / 1.537 GB, free: 10.65 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.5291, allocations: 71.91 kB / 1.537 GB, free: 10.58 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.5291, allocations: 7.984 kB / 1.537 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.5291, allocations: 12 kB / 1.537 GB, free: 10.56 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.5291, allocations: 7.938 kB / 1.537 GB, free: 10.55 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5291, allocations: 4 kB / 1.537 GB, free: 10.55 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008706/0.53, allocations: 0.7039 MB / 1.538 GB, free: 9.781 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.5302, allocations: 91.69 kB / 1.538 GB, free: 9.691 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.172e-05/0.5303, allocations: 19.98 kB / 1.538 GB, free: 9.672 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.5306, allocations: 16.56 kB / 1.538 GB, free: 9.656 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.5307, allocations: 35.83 kB / 1.538 GB, free: 9.621 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.5307, allocations: 19.98 kB / 1.538 GB, free: 9.602 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003656/0.5311, allocations: 327.1 kB / 1.539 GB, free: 9.281 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5311, allocations: 7.938 kB / 1.539 GB, free: 9.273 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005395/0.5317, allocations: 144 kB / 1.539 GB, free: 9.133 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.001328/0.533, allocations: 1.292 MB / 1.54 GB, free: 7.762 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.5335, allocations: 311.8 kB / 1.54 GB, free: 7.457 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5335, allocations: 0 / 1.54 GB, free: 7.457 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.5338, allocations: 170.5 kB / 1.54 GB, free: 7.293 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.5354, allocations: 368.6 kB / 1.541 GB, free: 6.945 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/0.5411, allocations: 4.421 MB / 1.545 GB, free: 2.305 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.5416, allocations: 0.8861 MB / 1.546 GB, free: 1.391 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004416/0.542, allocations: 136.7 kB / 1.546 GB, free: 1.254 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.5423, allocations: 167.4 kB / 1.546 GB, free: 1.09 MB / 1.232 GB Notification: Performance of SimCode: time 1.293e-06/0.5423, allocations: 0 / 1.546 GB, free: 1.09 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.5841, allocations: 15.91 MB / 1.562 GB, free: 1.461 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.43, allocations: 4.062 kB / 1.562 GB, free: 1.457 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.620725637010764]